panel_window(3X) LIBRARY FUNCTIONS panel_window(3X)
NAME
panel_window: panel_window, replace_panel - get or set the
current window of a panels panel
SYNOPSIS
#include <panel.h>
WINDOW *panel_window(PANEL *panel);
int replace_panel(PANEL *panel, WINDOW *win);
DESCRIPTION
panel_window returns a pointer to the window of panel.
replace_panel replaces the current window of panel with win.
RETURN VALUE
panel_window returns NULL on failure.
replace_panel returns OK on successful completion, ERR oth-
erwise.
NOTES
The header file <panel.h> automatically includes the header
file <curses.h>.
SEE ALSO
curses(3X), panels(3X).
1