man pages section 3: Curses Library Functions

Exit Print View

Updated: July 2014
 
 

show_panel(3CURSES)

Name

panel_show, show_panel, hide_panel, panel_hidden - panels deck manipulation routines

Synopsis

cc [ flag ... ] file ... –lpanel –lcurses [ library .. ]
#include <panel.h>



int show_panel(PANEL *panel);
int hide_panel(PANEL *panel);
int panel_hidden(PANEL *panel);

Description

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.

Return Values

show_panel() and hide_panel() return the integer OK upon successful completion or ERR upon error.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See also

curses(3CURSES), panel_update(3CURSES), panels(3CURSES), attributes(5)

Notes

The header <panel.h> automatically includes the header <curses.h>.