DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

panel_above(S)


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) returns a pointer to the panel just above panel, or NULL if panel is the top panel. panel_below(S) 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), panels(S)

Standards conformance

panel_above(S) and panel_below(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003