1curs_opaque(3X) curs_opaque(3X)
2
3
4
6 is_cleared, is_idlok, is_idcok, is_immedok, is_keypad, is_leaveok,
7 is_nodelay, is_timeout, is_scrollok, is_syncok - curses window
8 properties
9
11 #include <curses.h>
12
13 bool is_cleared(const WINDOW *win);
14 bool is_idcok(const WINDOW *win);
15 bool is_idlok(const WINDOW *win);
16 bool is_immedok(const WINDOW *win);
17 bool is_keypad(const WINDOW *win);
18 bool is_leaveok(const WINDOW *win);
19 bool is_nodelay(const WINDOW *win);
20 bool is_notimeout(const WINDOW *win);
21 bool is_scrollok(const WINDOW *win);
22 bool is_syncok(const WINDOW *win);
23 WINDOW * wgetparent(const WINDOW *win);
24 int wgetscrreg(const WINDOW *win, int *top, int *bottom);
25
27 This implementation provides functions which return properties set in
28 the WINDOW structure, allowing it to be ``opaque'' if the symbol NCURS‐
29 ES_OPAQUE is defined:
30
31 is_cleared
32 returns the value set in clearok
33
34 is_idcok
35 returns the value set in idcok
36
37 is_idlok
38 returns the value set in idlok
39
40 is_immedok
41 returns the value set in immedok
42
43 is_keypad
44 returns the value set in keypad
45
46 is_leaveok
47 returns the value set in leaveok
48
49 is_nodelay
50 returns the value set in nodelay
51
52 is_notimeout
53 returns the value set in notimeout
54
55 is_scrollok
56 returns the value set in scrollok
57
58 is_syncok
59 returns the value set in syncok
60
61 wgetparent
62 returns the parent WINDOW pointer for subwindows, or NULL for win‐
63 dows having no parent.
64
65 wgetscrreg
66 returns the top and bottom rows for the scrolling margin as set in
67 wsetscrreg.
68
70 These functions all return TRUE or FALSE, except as noted.
71
73 Both a macro and a function are provided for each name.
74
76 These routines are specific to ncurses. They were not supported on
77 Version 7, BSD or System V implementations. It is recommended that any
78 code depending on ncurses extensions be conditioned using NCURSES_VER‐
79 SION.
80
82 curses(3X), curs_inopts(3X), curs_outopts(3X), curs_window(3X)
83
84
85
86 curs_opaque(3X)