curs_opaque.3x.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2. <!--
  3. ****************************************************************************
  4. * Copyright (c) 2007 Free Software Foundation, Inc. *
  5. * *
  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: *
  13. * *
  14. * The above copyright notice and this permission notice shall be included *
  15. * in all copies or substantial portions of the Software. *
  16. * *
  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. *
  24. * *
  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 *
  28. * authorization. *
  29. ****************************************************************************
  30. * @Id: curs_opaque.3x,v 1.6 2007/09/08 18:49:13 tom Exp @
  31. -->
  32. <HTML>
  33. <HEAD>
  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">
  37. </HEAD>
  38. <BODY>
  39. <H1>curs_opaque 3x</H1>
  40. <HR>
  41. <PRE>
  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>
  44. </PRE>
  45. <H2>NAME</H2><PRE>
  46. <STRONG>is_cleared</STRONG>, <STRONG>is_idlok</STRONG>, <STRONG>is_idcok</STRONG>, <STRONG>is_immedok</STRONG>, <STRONG>is_keypad</STRONG>,
  47. <STRONG>is_leaveok</STRONG>, <STRONG>is_nodelay</STRONG>, <STRONG>is_timeout</STRONG>, <STRONG>is_scrollok</STRONG>, <STRONG>is_syncok</STRONG>
  48. - <STRONG>curses</STRONG> window properties
  49. </PRE>
  50. <H2>SYNOPSIS</H2><PRE>
  51. <STRONG>#include</STRONG> <STRONG>&lt;curses.h&gt;</STRONG>
  52. <STRONG>bool</STRONG> <STRONG>is_cleared(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  53. <STRONG>bool</STRONG> <STRONG>is_idcok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  54. <STRONG>bool</STRONG> <STRONG>is_idlok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  55. <STRONG>bool</STRONG> <STRONG>is_immedok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  56. <STRONG>bool</STRONG> <STRONG>is_keypad(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  57. <STRONG>bool</STRONG> <STRONG>is_leaveok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  58. <STRONG>bool</STRONG> <STRONG>is_nodelay(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  59. <STRONG>bool</STRONG> <STRONG>is_notimeout(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  60. <STRONG>bool</STRONG> <STRONG>is_scrollok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  61. <STRONG>bool</STRONG> <STRONG>is_syncok(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  62. <STRONG>WINDOW</STRONG> <STRONG>*</STRONG> <STRONG>wgetparent(const</STRONG> <STRONG>WINDOW</STRONG> <STRONG>*win);</STRONG>
  63. <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>
  64. </PRE>
  65. <H2>DESCRIPTION</H2><PRE>
  66. This implementation provides functions which return prop-
  67. erties set in the WINDOW structure, allowing it to be
  68. ``opaque'' if the symbol <STRONG>NCURSES_OPAQUE</STRONG> is defined:
  69. <STRONG>is_cleared</STRONG>
  70. returns the value set in <STRONG>clearok</STRONG>
  71. <STRONG>is_idcok</STRONG>
  72. returns the value set in <STRONG>idcok</STRONG>
  73. <STRONG>is_idlok</STRONG>
  74. returns the value set in <STRONG>idlok</STRONG>
  75. <STRONG>is_immedok</STRONG>
  76. returns the value set in <STRONG>immedok</STRONG>
  77. <STRONG>is_keypad</STRONG>
  78. returns the value set in <STRONG>keypad</STRONG>
  79. <STRONG>is_leaveok</STRONG>
  80. returns the value set in <STRONG>leaveok</STRONG>
  81. <STRONG>is_nodelay</STRONG>
  82. returns the value set in <STRONG>nodelay</STRONG>
  83. <STRONG>is_notimeout</STRONG>
  84. returns the value set in <STRONG>notimeout</STRONG>
  85. <STRONG>is_scrollok</STRONG>
  86. returns the value set in <STRONG>scrollok</STRONG>
  87. <STRONG>is_syncok</STRONG>
  88. returns the value set in <STRONG>syncok</STRONG>
  89. <STRONG>wgetparent</STRONG>
  90. returns the parent WINDOW pointer for subwindows, or
  91. NULL for windows having no parent.
  92. <STRONG>wgetscrreg</STRONG>
  93. returns the top and bottom rows for the scrolling
  94. margin as set in <STRONG>wsetscrreg</STRONG>.
  95. </PRE>
  96. <H2>RETURN VALUE</H2><PRE>
  97. These functions all return TRUE or FALSE, except as noted.
  98. </PRE>
  99. <H2>NOTES</H2><PRE>
  100. Both a macro and a function are provided for each name.
  101. </PRE>
  102. <H2>PORTABILITY</H2><PRE>
  103. These routines are specific to ncurses. They were not
  104. supported on Version 7, BSD or System V implementations.
  105. It is recommended that any code depending on ncurses ex-
  106. tensions be conditioned using NCURSES_VERSION.
  107. </PRE>
  108. <H2>SEE ALSO</H2><PRE>
  109. <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>
  110. <STRONG><A HREF="curs_window.3x.html">dow(3x)</A></STRONG>
  111. <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>
  112. </PRE>
  113. <HR>
  114. <ADDRESS>
  115. Man(1) output converted with
  116. <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
  117. </ADDRESS>
  118. </BODY>
  119. </HTML>