Curses Library Functions panelabove(3CURSES)
NAME
panelabove, panelbelow - panels deck traversal primitives
SYNOPSIS
cc [ flag ... ] file ... -lpanel -lcurses [ library .. ]
#include
PANEL *panelabove(PANEL *panel);
PANEL *panelbelow(PANEL *panel);
DESCRIPTION
panelabove() returns a pointer to the panel just above
panel, or NUL if panel is the top panel. panelbelow()
returns a pointer to the panel just below panel, or NUL if
panel is the bottom panel.
If NUL is passed for panel, panelabove() returns a pointer
to the bottom panel in the deck, and panelbelow() returns a
pointer to the top panel in the deck.
RETURN VALUES
NUL is returned if an error occurs.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), panels(3CURSES), attributes(5)
NOTES
These routines allow traversal of the deck of currently
visible panels.
The header automatically includes the header
.
SunOS 5.11 Last change: 31 Dec 1996 1
|