1curs_opaque(3X)                                                curs_opaque(3X)
2
3
4

NAME

6       is_cleared, is_idlok, is_idcok, is_immedok, is_keypad, is_leaveok,
7       is_nodelay, is_notimeout, is_pad, is_scrollok, is_subwin, is_syncok -
8       curses window properties
9

SYNOPSIS

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_pad(const WINDOW *win);
22       bool is_scrollok(const WINDOW *win);
23       bool is_subwin(const WINDOW *win);
24       bool is_syncok(const WINDOW *win);
25       WINDOW * wgetparent(const WINDOW *win);
26       int wgetscrreg(const WINDOW *win, int *top, int *bottom);
27

DESCRIPTION

29       This  implementation  provides functions which return properties set in
30       the WINDOW structure, allowing it to be ``opaque'' if the symbol NCURS‐
31       ES_OPAQUE is defined:
32
33       is_cleared
34            returns the value set in clearok
35
36       is_idcok
37            returns the value set in idcok
38
39       is_idlok
40            returns the value set in idlok
41
42       is_immedok
43            returns the value set in immedok
44
45       is_keypad
46            returns the value set in keypad
47
48       is_leaveok
49            returns the value set in leaveok
50
51       is_nodelay
52            returns the value set in nodelay
53
54       is_notimeout
55            returns the value set in notimeout
56
57       is_pad
58            returns TRUE if the window is a pad i.e., created by newpad
59
60       is_scrollok
61            returns the value set in scrollok
62
63       is_subwin
64            returns TRUE if the window is a subwindow, i.e., created by subwin
65            or derwin
66
67       is_syncok
68            returns the value set in syncok
69
70       wgetparent
71            returns the parent WINDOW pointer for subwindows, or NULL for win‐
72            dows having no parent.
73
74       wgetscrreg
75            returns the top and bottom rows for the scrolling margin as set in
76            wsetscrreg.
77

RETURN VALUE

79       These functions all return TRUE or FALSE, except as noted.
80

NOTES

82       Both a macro and a function are provided for each name.
83

PORTABILITY

85       These routines are specific to ncurses.  They  were  not  supported  on
86       Version 7, BSD or System V implementations.  It is recommended that any
87       code depending on ncurses extensions be conditioned using  NCURSES_VER‐
88       SION.
89

SEE ALSO

91       curses(3X), curs_inopts(3X), curs_outopts(3X), curs_window(3X)
92
93
94
95                                                               curs_opaque(3X)
Impressum