1panel_window(3CURSES) Curses Library Functions panel_window(3CURSES)
2
3
4
6 panel_window, replace_panel - get or set the current window of a panels
7 panel
8
10 cc [ flag ... ] file ... -lpanel -lcurses [ library .. ]
11 #include <panel.h>
12
13
14
15 WINDOW *panel_window(PANEL *panel);
16
17
18 int replace_panel(PANEL *panel, WINDOW *win);
19
20
22 panel_window() returns a pointer to the window of panel.
23
24
25 replace_panel() replaces the current window of panel with win.
26
28 panel_window() returns NULL on failure.
29
30
31 replace_panel() returns OK on successful completion, ERR otherwise.
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 The header <panel.h> automatically includes the header <curses.h>.
50
51
52
53SunOS 5.11 31 Dec 1996 panel_window(3CURSES)