panel_show(3curses)


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> value

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

Notices

The header file panel.h automatically includes the header file curses.h.

References

curses(3curses), panels(3curses), panel_update(3curses)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.