Skip Navigation Links | |
Exit Print View | |
man pages section 3: Curses Library Functions Oracle Solaris 11.1 Information Library |
- get or set the current window of a panels panel
cc [ flag ... ] file ... -lpanel -lcurses [ library .. ] #include <panel.h> WINDOW *panel_window(PANEL *panel);
int replace_panel(PANEL *panel, WINDOW *win);
panel_window() returns a pointer to the window of panel.
replace_panel() replaces the current window of panel with win.
panel_window() returns NULL on failure.
replace_panel() returns OK on successful completion, ERR otherwise.
See attributes(5) for descriptions of the following attributes:
|
curses(3CURSES), panels(3CURSES), attributes(5)
The header <panel.h> automatically includes the header <curses.h>.