1panel_above(3CURSES) Curses Library Functions panel_above(3CURSES)
2
3
4
6 panel_above, panel_below - panels deck traversal primitives
7
9 cc [ flag ... ] file ... -lpanel -lcurses [ library .. ]
10 #include <panel.h>
11
12
13
14 PANEL *panel_above(PANEL *panel);
15
16
17 PANEL *panel_below(PANEL *panel);
18
19
21 panel_above() returns a pointer to the panel just above panel, or NULL
22 if panel is the top panel. panel_below() returns a pointer to the panel
23 just below panel, or NULL if panel is the bottom panel.
24
25
26 If NULL is passed for panel, panel_above() returns a pointer to the
27 bottom panel in the deck, and panel_below() returns a pointer to the
28 top panel in the deck.
29
31 NULL is returned if an error occurs.
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │MT-Level │Unsafe │
43 └─────────────────────────────┴─────────────────────────────┘
44
46 curses(3CURSES), panels(3CURSES), attributes(5)
47
49 These routines allow traversal of the deck of currently visible panels.
50
51
52 The header <panel.h> automatically includes the header <curses.h>.
53
54
55
56SunOS 5.11 31 Dec 1996 panel_above(3CURSES)