1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
3 ****************************************************************************
4 * Copyright (c) 2007 Free Software Foundation, Inc. *
6 * Permission is hereby granted, free of charge, to any person obtaining a *
7 * copy of this software and associated documentation files (the *
8 * "Software"), to deal in the Software without restriction, including *
9 * without limitation the rights to use, copy, modify, merge, publish, *
10 * distribute, distribute with modifications, sublicense, and/or sell *
11 * copies of the Software, and to permit persons to whom the Software is *
12 * furnished to do so, subject to the following conditions: *
14 * The above copyright notice and this permission notice shall be included *
15 * in all copies or substantial portions of the Software. *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
20 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
21 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
22 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
23 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
25 * Except as contained in this notice, the name(s) of the above copyright *
26 * holders shall not be used in advertising or otherwise to promote the *
27 * sale, use or other dealings in this Software without prior written *
29 ****************************************************************************
30 * @Id: curs_opaque.3x,v 1.6 2007/09/08 18:49:13 tom Exp @
34 <TITLE>curs_opaque 3x</TITLE>
35 <link rev=made href="mailto:bug-ncurses@gnu.org">
36 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
39 <H1>curs_opaque 3x</H1>
42 <!-- Manpage converted by man2html 3.0.1 -->
43 <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG> <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>
50 <STRONG>is_cleared</STRONG>, <STRONG>is_idlok</STRONG>, <STRONG>is_idcok</STRONG>, <STRONG>is_immedok</STRONG>, <STRONG>is_keypad</STRONG>,
51 <STRONG>is_leaveok</STRONG>, <STRONG>is_nodelay</STRONG>, <STRONG>is_timeout</STRONG>, <STRONG>is_scrollok</STRONG>, <STRONG>is_syncok</STRONG>
52 - <STRONG>curses</STRONG> window properties
56 <H2>SYNOPSIS</H2><PRE>
57 <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
59 <STRONG>bool</STRONG> <STRONG>is_cleared(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
60 <STRONG>bool</STRONG> <STRONG>is_idcok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
61 <STRONG>bool</STRONG> <STRONG>is_idlok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
62 <STRONG>bool</STRONG> <STRONG>is_immedok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
63 <STRONG>bool</STRONG> <STRONG>is_keypad(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
64 <STRONG>bool</STRONG> <STRONG>is_leaveok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
65 <STRONG>bool</STRONG> <STRONG>is_nodelay(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
66 <STRONG>bool</STRONG> <STRONG>is_notimeout(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
67 <STRONG>bool</STRONG> <STRONG>is_scrollok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
68 <STRONG>bool</STRONG> <STRONG>is_syncok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
69 <STRONG>WINDOW</STRONG> <STRONG>*</STRONG> <STRONG>wgetparent(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
70 <STRONG>int</STRONG> <STRONG>wgetscrreg(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win,</STRONG> <STRONG>int</STRONG> <STRONG>*top,</STRONG> <STRONG>int</STRONG> <STRONG>*bottom);</STRONG>
74 <H2>DESCRIPTION</H2><PRE>
75 This implementation provides functions which return prop-
76 erties set in the WINDOW structure, allowing it to be
77 ``opaque'' if the symbol <STRONG>NCURSES_OPAQUE</STRONG> is defined:
79 <STRONG>is_cleared</STRONG>
80 returns the value set in <STRONG>clearok</STRONG>
82 <STRONG>is_idcok</STRONG>
83 returns the value set in <STRONG>idcok</STRONG>
85 <STRONG>is_idlok</STRONG>
86 returns the value set in <STRONG>idlok</STRONG>
88 <STRONG>is_immedok</STRONG>
89 returns the value set in <STRONG>immedok</STRONG>
91 <STRONG>is_keypad</STRONG>
92 returns the value set in <STRONG>keypad</STRONG>
94 <STRONG>is_leaveok</STRONG>
95 returns the value set in <STRONG>leaveok</STRONG>
97 <STRONG>is_nodelay</STRONG>
98 returns the value set in <STRONG>nodelay</STRONG>
100 <STRONG>is_notimeout</STRONG>
101 returns the value set in <STRONG>notimeout</STRONG>
103 <STRONG>is_scrollok</STRONG>
104 returns the value set in <STRONG>scrollok</STRONG>
106 <STRONG>is_syncok</STRONG>
107 returns the value set in <STRONG>syncok</STRONG>
109 <STRONG>wgetparent</STRONG>
110 returns the parent WINDOW pointer for subwindows, or
111 NULL for windows having no parent.
113 <STRONG>wgetscrreg</STRONG>
114 returns the top and bottom rows for the scrolling
115 margin as set in <STRONG>wsetscrreg</STRONG>.
119 <H2>RETURN VALUE</H2><PRE>
120 These functions all return TRUE or FALSE, except as noted.
125 Both a macro and a function are provided for each name.
129 <H2>PORTABILITY</H2><PRE>
130 These routines are specific to ncurses. They were not
131 supported on Version 7, BSD or System V implementations.
132 It is recommended that any code depending on ncurses ex-
133 tensions be conditioned using NCURSES_VERSION.
137 <H2>SEE ALSO</H2><PRE>
138 <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>, <STRONG>curs_win-</STRONG>
139 <STRONG><A HREF="curs_window.3x.html">dow(3x)</A></STRONG>
143 <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>
147 Man(1) output converted with
148 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>