1panel_new(3CURSES) Curses Library Functions panel_new(3CURSES)
2
3
4
6 panel_new, new_panel, del_panel - create and destroy panels
7
9 cc [ flag ... ] file ... -lpanel -lcurses [ library .. ]
10 #include <panel.h>
11
12
13
14 PANEL *new_panel(WINDOW *win);
15
16
17 int del_panel(PANEL *panel);
18
19
21 new_panel() creates a new panel associated with win and returns the
22 panel pointer. The new panel is placed on top of the panel deck.
23
24
25 del_panel() destroys panel, but not its associated window.
26
28 new_panel() returns NULL if an error occurs.
29
30
31 del_win() returns OK if successful, 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), panel_update(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_new(3CURSES)