panel_window(3X) LIBRARY FUNCTIONS panel_window(3X)
NAME
panelwindow: panelwindow, replacepanel - get or set the
current window of a panels panel
SYNOPSIS
#include <panel.h>
WINDOW *panelwindow(PANEL *panel);
int replacepanel(PANEL *panel, WINDOW *win);
DESCRIPTION
panelwindow returns a pointer to the window of panel.
replacepanel replaces the current window of panel with win.
RETURN VALUE
panelwindow returns NULL on failure.
replacepanel 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