1 .\"***************************************************************************
2 .\" Copyright (c) 2007 Free Software Foundation, Inc. *
4 .\" Permission is hereby granted, free of charge, to any person obtaining a *
5 .\" copy of this software and associated documentation files (the *
6 .\" "Software"), to deal in the Software without restriction, including *
7 .\" without limitation the rights to use, copy, modify, merge, publish, *
8 .\" distribute, distribute with modifications, sublicense, and/or sell *
9 .\" copies of the Software, and to permit persons to whom the Software is *
10 .\" furnished to do so, subject to the following conditions: *
12 .\" The above copyright notice and this permission notice shall be included *
13 .\" in all copies or substantial portions of the Software. *
15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
16 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
17 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
18 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
19 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
20 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
21 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23 .\" Except as contained in this notice, the name(s) of the above copyright *
24 .\" holders shall not be used in advertising or otherwise to promote the *
25 .\" sale, use or other dealings in this Software without prior written *
27 .\"***************************************************************************
29 .\" $Id: curs_opaque.3x,v 1.2 2007/04/14 20:19:39 tom Exp $
43 \fBis_syncok\fR - \fBcurses\fR output options
47 \fB#include <curses.h>\fR
49 \fBbool is_cleared(WINDOW *win);\fR
51 \fBbool is_idcok(WINDOW *win);\fR
53 \fBbool is_idlok(WINDOW *win);\fR
55 \fBbool is_immedok(WINDOW *win);\fR
57 \fBbool is_keypad(WINDOW *win);\fR
59 \fBbool is_leaveok(WINDOW *win);\fR
61 \fBbool is_nodelay(WINDOW *win);\fR
63 \fBbool is_notimeout(WINDOW *win);\fR
65 \fBbool is_scrollok(WINDOW *win);\fR
67 \fBbool is_syncok(WINDOW *win);\fR
70 This implementation provides functions which return properties
71 set in the WINDOW structure, allowing it to be ``opaque'' if
72 the symbol \fBNCURSES_OPAQUE\fR is defined:
75 returns the value set in \fBclearok\fR
78 returns the value set in \fBidcok\fR
81 returns the value set in \fBidlok\fR
84 returns the value set in \fBimmedok\fR
87 returns the value set in \fBkeypad\fR
90 returns the value set in \fBleaveok\fR
93 returns the value set in \fBnodelay\fR
96 returns the value set in \fBnotimeout\fR
99 returns the value set in \fBscrollok\fR
102 returns the value set in \fBsyncok\fR
105 These functions all return TRUE or FALSE.
107 Both a macro and a function are provided for each name.
109 These routines are specific to ncurses.
110 They were not supported on Version 7, BSD or System V implementations.
111 It is recommended that any code depending on ncurses extensions
112 be conditioned using NCURSES_VERSION.
115 \fBcurs_inopts\fR(3X),
116 \fBcurs_outopts\fR(3X),
117 \fBcurs_window\fR(3X)
119 .\"# The following sets edit modes for GNU EMACS
120 .\"# Local Variables: