panel_above(S-osr5)
panel_above: panel_above, panel_below --
panels deck traversal primitives
Syntax
cc ... -lpanel -lcurses
#include <panel.h>
PANEL *panel_above(PANEL *panel);
PANEL *panel_below(PANEL *panel);
Description
panel_above-
return pointer to the panel above the specified panel
panel_below-
return pointer to the panel below the specified panel
panel_above(S-osr5)
returns a pointer to the panel just above
panel, or NULL if panel is the top panel.
panel_below(S-osr5)
returns a pointer to the panel just below
panel, or NULL if panel is the bottom panel.
If NULL is passed for panel,
panel_above( )
returns a pointer to the bottom panel in the deck, and
panel_below( )
returns a pointer to the top panel in the deck.
Return values
NULL is returned if an error occurs.
Warning
These routines allow traversal of the deck of currently visible panels.
The header file panel.h automatically includes the header file
curses.h.
Files
/usr/lib/libpanel.a-
the library
See also
curses(S-osr5),
panels(S-osr5)
Standards conformance
panel_above(S-osr5)
and
panel_below(S-osr5)
are not part of any currently supported standard;
they were developed by UNIX System Laboratories, Inc.
and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005