Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Curses Library Functionspanel_show(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 TYPEATTRIBUTE VALUE
MT-LevelUnsafe

SEE ALSO

 

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


NOTES

 

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



SunOS 5.9Go To TopLast Changed 31 Dec 1996