panel_window(3X) — MISCELLANEOUS LIBRARY FUNCTIONS
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 otherwise.
NOTES
The header file panel.h automatically includes the header file curses.h.