]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_opaque.3x
ncurses 5.7 - patch 20100515
[ncurses.git] / man / curs_opaque.3x
index 1f04fbf2be6c67aa44ed31413a1f9573692f9b2d..7a9e049c515b7e7539ab19794696b62e6751f255 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
 .\"***************************************************************************
-.\" Copyright (c) 2007 Free Software Foundation, Inc.                        *
+.\" Copyright (c) 2007,2009 Free Software Foundation, Inc.                   *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" copy of this software and associated documentation files (the            *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" copy of this software and associated documentation files (the            *
@@ -26,7 +26,7 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_opaque.3x,v 1.1 2007/04/07 23:19:40 tom Exp $
+.\" $Id: curs_opaque.3x,v 1.7 2009/09/06 16:01:55 tom Exp $
 .TH curs_opaque 3X ""
 .na
 .hy 0
 .TH curs_opaque 3X ""
 .na
 .hy 0
 \fBis_keypad\fR,
 \fBis_leaveok\fR,
 \fBis_nodelay\fR,
 \fBis_keypad\fR,
 \fBis_leaveok\fR,
 \fBis_nodelay\fR,
-\fBis_timeout\fR,
+\fBis_notimeout\fR,
+\fBis_pad\fR,
 \fBis_scrollok\fR,
 \fBis_scrollok\fR,
-\fBis_syncok\fR - \fBcurses\fR output options
+\fBis_subwin\fR,
+\fBis_syncok\fR - \fBcurses\fR window properties
 .ad
 .hy
 .SH SYNOPSIS
 \fB#include <curses.h>\fR
 .sp
 .ad
 .hy
 .SH SYNOPSIS
 \fB#include <curses.h>\fR
 .sp
-\fBbool is_cleared (WINDOW *win);\fR
+\fBbool is_cleared(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_idcok (WINDOW *win);\fR
+\fBbool is_idcok(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_idlok (WINDOW *win);\fR
+\fBbool is_idlok(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_immedok (WINDOW *win);\fR
+\fBbool is_immedok(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_keypad (WINDOW *win);\fR
+\fBbool is_keypad(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_leaveok (WINDOW *win);\fR
+\fBbool is_leaveok(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_nodelay (WINDOW *win);\fR
+\fBbool is_nodelay(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_notimeout (WINDOW *win);\fR
+\fBbool is_notimeout(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_scrollok (WINDOW *win);\fR
+\fBbool is_pad(const WINDOW *win);\fR
 .br
 .br
-\fBbool is_syncok (WINDOW *win);\fR
+\fBbool is_scrollok(const WINDOW *win);\fR
+.br
+\fBbool is_subwin(const WINDOW *win);\fR
+.br
+\fBbool is_syncok(const WINDOW *win);\fR
+.br
+\fBWINDOW * wgetparent(const WINDOW *win);\fR
+.br
+\fBint wgetscrreg(const WINDOW *win, int *top, int *bottom);\fR
 .br
 .SH DESCRIPTION
 This implementation provides functions which return properties
 .br
 .SH DESCRIPTION
 This implementation provides functions which return properties
@@ -95,14 +105,28 @@ returns the value set in \fBnodelay\fR
 \fBis_notimeout\fR
 returns the value set in \fBnotimeout\fR
 .TP 5
 \fBis_notimeout\fR
 returns the value set in \fBnotimeout\fR
 .TP 5
+\fBis_pad\fR
+returns TRUE if the window is a pad
+i.e., created by \fBnewpad\fP
+.TP 5
 \fBis_scrollok\fR
 returns the value set in \fBscrollok\fR
 .TP 5
 \fBis_scrollok\fR
 returns the value set in \fBscrollok\fR
 .TP 5
+\fBis_subwin\fR
+returns TRUE if the window is a subwindow,
+i.e., created by \fBsubwin\fP or \fBderwin\fP
+.TP 5
 \fBis_syncok\fR
 returns the value set in \fBsyncok\fR
 \fBis_syncok\fR
 returns the value set in \fBsyncok\fR
-.RE
+.TP 5
+\fBwgetparent\fR
+returns the parent WINDOW pointer for subwindows,
+or NULL for windows having no parent.
+.TP 5
+\fBwgetscrreg\fR
+returns the top and bottom rows for the scrolling margin as set in \fBwsetscrreg\fP.
 .SH RETURN VALUE
 .SH RETURN VALUE
-These functions all return TRUE or FALSE.
+These functions all return TRUE or FALSE, except as noted.
 .SH NOTES
 Both a macro and a function are provided for each name.
 .SH PORTABILITY
 .SH NOTES
 Both a macro and a function are provided for each name.
 .SH PORTABILITY