Content-type: text/html
cc [ flag ... ] file ... -lpanel -lcurses [ library .. ] #include <panel.h>
int show_panel(PANEL *panel);
int hide_panel(PANEL *panel);
int panel_hidden(PANEL *panel);
show_panel() makes panel, previously hidden, visible and places it on top of the deck of panels.
hide_panel() removes panel from the panel deck and, thus, hides it from view. The internal data structure of the panel is retained.
panel_hidden() returns TRUE (1) or FALSE (0) indicating whether or not panel is in the deck of panels.
show_panel() and hide_panel() return the integer OK upon successful completion or ERR upon error.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT-Level | Unsafe |
curses(3CURSES), panel_update(3CURSES), panels(3CURSES), attributes(5)
The header <panel.h> automatically includes the header <curses.h>.