X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_opaque.3x;h=d31d734e165a5692fc8a23fe10621d992e2f5cf2;hb=17e1f876e3a67019cbd46b02fe28232128ac97b4;hp=ac538123b7174f9f9b7f9d62ab7429d78dff7526;hpb=efd59f16f336b4c4c698ff783e1723f3161026ef;p=ncurses.git diff --git a/man/curs_opaque.3x b/man/curs_opaque.3x index ac538123..d31d734e 100644 --- a/man/curs_opaque.3x +++ b/man/curs_opaque.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_opaque.3x,v 1.2 2007/04/14 20:19:39 tom Exp $ +.\" $Id: curs_opaque.3x,v 1.5 2007/08/18 18:14:52 tom Exp $ .TH curs_opaque 3X "" .na .hy 0 @@ -40,31 +40,35 @@ \fBis_nodelay\fR, \fBis_timeout\fR, \fBis_scrollok\fR, -\fBis_syncok\fR - \fBcurses\fR output options +\fBis_syncok\fR - \fBcurses\fR window properties .ad .hy .SH SYNOPSIS \fB#include \fR .sp -\fBbool is_cleared(WINDOW *win);\fR +\fBbool is_cleared(const WINDOW *win);\fR .br -\fBbool is_idcok(WINDOW *win);\fR +\fBbool is_idcok(const WINDOW *win);\fR .br -\fBbool is_idlok(WINDOW *win);\fR +\fBbool is_idlok(const WINDOW *win);\fR .br -\fBbool is_immedok(WINDOW *win);\fR +\fBbool is_immedok(const WINDOW *win);\fR .br -\fBbool is_keypad(WINDOW *win);\fR +\fBbool is_keypad(const WINDOW *win);\fR .br -\fBbool is_leaveok(WINDOW *win);\fR +\fBbool is_leaveok(const WINDOW *win);\fR .br -\fBbool is_nodelay(WINDOW *win);\fR +\fBbool is_nodelay(const WINDOW *win);\fR .br -\fBbool is_notimeout(WINDOW *win);\fR +\fBbool is_notimeout(const WINDOW *win);\fR .br -\fBbool is_scrollok(WINDOW *win);\fR +\fBbool is_scrollok(const WINDOW *win);\fR .br -\fBbool is_syncok(WINDOW *win);\fR +\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 @@ -100,9 +104,15 @@ returns the value set in \fBscrollok\fR .TP 5 \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 -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