ncurses provides functions returning properties of a
WINDOW structure,
allowing it to be opaque if
the application defines the
NCURSES_OPAQUE preprocessor symbol.
Opacity in this sense means that the members of
struct data
types are not directly accessible
(for instance,
through . or -> operators),
but instead must be queried and/or set via library functions.
Advantages of opacity include greater abstraction and improved
management of concurrent accesses to data structures,
keeping object states coherent.
|
is_cleared
|
| |
returns the value set by clearok(3X).
|
|
is_idcok
|
| |
returns the value set by idcok(3X).
|
|
is_idlok
|
| |
returns the value set by idlok(3X).
|
|
is_immedok
|
| |
returns the value set by immedok(3X).
|
|
is_keypad
|
| |
returns the value set by keypad(3X).
|
|
is_leaveok
|
| |
returns the value set by leaveok(3X).
|
|
is_nodelay
|
| |
returns the value set by nodelay(3X).
|
|
is_notimeout
|
| |
returns the value set by notimeout(3X).
|
|
is_pad
|
returns TRUE if the window is a pad;
that is,
it was created by newpad(3X).
|
|
is_scrollok
|
| |
returns the value set by scrollok(3X).
|
|
is_subwin
|
| |
returns TRUE if the window is a subwindow,
that is,
it was created by subwin(3X) or derwin(3X).
|
|
is_syncok
|
| |
returns the value set by syncok(3X).
|
|
wgetdelay
|
| |
returns the delay timeout set by wtimeout(3X).
|
|
wgetparent
|
| |
returns the parent WINDOW pointer for subwindows,
or NULL for windows having no parent.
|
|
wgetscrreg
|
| |
stores the the top and bottom rows for the scrolling margin set by
wsetscrreg(3X) in the corresponding arguments,
returning ERR upon failure and OK upon successful
completion.
|