Name | Synopsis | Description | Return Values | Attributes | See Also | Notes
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 |
The header <panel.h> automatically includes the header <curses.h>.
Name | Synopsis | Description | Return Values | Attributes | See Also | Notes