X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_opaque.3x;h=2e57c0e22a30f5f0e399cdc6d82649a2c94dc473;hb=87c2c84cbd2332d6d94b12a1dcaf12ad1a51a938;hp=62eb4e0b58a31790ec11099ea96ce79a97d1bcf4;hpb=f8a14dc01262d11475f9e4713a64567ae8f7fccc;p=ncurses.git diff --git a/man/curs_opaque.3x b/man/curs_opaque.3x index 62eb4e0b..2e57c0e2 100644 --- a/man/curs_opaque.3x +++ b/man/curs_opaque.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2007-2013,2014 Free Software Foundation, Inc. * +.\" Copyright 2020-2022,2023 Thomas E. Dickey * +.\" Copyright 2007-2014,2015 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 * @@ -26,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_opaque.3x,v 1.11 2014/03/15 19:24:23 tom Exp $ +.\" $Id: curs_opaque.3x,v 1.19 2023/03/11 20:40:58 tom Exp $ .TH curs_opaque 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -35,108 +36,111 @@ .na .hy 0 .SH NAME -\fBis_cleared\fR, -\fBis_idlok\fR, -\fBis_idcok\fR, -\fBis_immedok\fR, -\fBis_keypad\fR, -\fBis_leaveok\fR, -\fBis_nodelay\fR, -\fBis_notimeout\fR, -\fBis_pad\fR, -\fBis_scrollok\fR, -\fBis_subwin\fR, -\fBis_syncok\fR \- \fBcurses\fR window properties +\fBis_cleared\fP, +\fBis_idlok\fP, +\fBis_idcok\fP, +\fBis_immedok\fP, +\fBis_keypad\fP, +\fBis_leaveok\fP, +\fBis_nodelay\fP, +\fBis_notimeout\fP, +\fBis_pad\fP, +\fBis_scrollok\fP, +\fBis_subwin\fP, +\fBis_syncok\fP, +\fBwgetdelay\fP, +\fBwgetparent\fP, +\fBwgetscrreg\fP \- \fBcurses\fP window properties .ad .hy .SH SYNOPSIS -\fB#include \fR +\fB#include \fP .sp -\fBbool is_cleared(const WINDOW *win);\fR +\fBbool is_cleared(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_idcok(const WINDOW *win);\fR +\fBbool is_idcok(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_idlok(const WINDOW *win);\fR +\fBbool is_idlok(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_immedok(const WINDOW *win);\fR +\fBbool is_immedok(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_keypad(const WINDOW *win);\fR +\fBbool is_keypad(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_leaveok(const WINDOW *win);\fR +\fBbool is_leaveok(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_nodelay(const WINDOW *win);\fR +\fBbool is_nodelay(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_notimeout(const WINDOW *win);\fR +\fBbool is_notimeout(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_pad(const WINDOW *win);\fR +\fBbool is_pad(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_scrollok(const WINDOW *win);\fR +\fBbool is_scrollok(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_subwin(const WINDOW *win);\fR +\fBbool is_subwin(const WINDOW *\fIwin\fB);\fR .br -\fBbool is_syncok(const WINDOW *win);\fR +\fBbool is_syncok(const WINDOW *\fIwin\fB);\fR .br -\fBWINDOW * wgetparent(const WINDOW *win);\fR +\fBWINDOW * wgetparent(const WINDOW *\fIwin\fB);\fR .br -\fBint wgetdelay(const WINDOW *win);\fR +\fBint wgetdelay(const WINDOW *\fIwin\fB);\fR .br -\fBint wgetscrreg(const WINDOW *win, int *top, int *bottom);\fR +\fBint wgetscrreg(const WINDOW *\fIwin\fB, int *\fItop\fB, int *\fIbottom\fB);\fR .br .SH DESCRIPTION This implementation provides functions which return properties set in the WINDOW structure, allowing it to be \*(``opaque\*('' if -the symbol \fBNCURSES_OPAQUE\fR is defined: +the symbol \fBNCURSES_OPAQUE\fP is defined: .TP 5 -\fBis_cleared\fR -returns the value set in \fBclearok\fR +\fBis_cleared\fP +returns the value set in \fBclearok\fP(3X) .TP 5 -\fBis_idcok\fR -returns the value set in \fBidcok\fR +\fBis_idcok\fP +returns the value set in \fBidcok\fP(3X) .TP 5 -\fBis_idlok\fR -returns the value set in \fBidlok\fR +\fBis_idlok\fP +returns the value set in \fBidlok\fP(3X) .TP 5 -\fBis_immedok\fR -returns the value set in \fBimmedok\fR +\fBis_immedok\fP +returns the value set in \fBimmedok\fP(3X) .TP 5 -\fBis_keypad\fR -returns the value set in \fBkeypad\fR +\fBis_keypad\fP +returns the value set in \fBkeypad\fP(3X) .TP 5 -\fBis_leaveok\fR -returns the value set in \fBleaveok\fR +\fBis_leaveok\fP +returns the value set in \fBleaveok\fP(3X) .TP 5 -\fBis_nodelay\fR -returns the value set in \fBnodelay\fR +\fBis_nodelay\fP +returns the value set in \fBnodelay\fP(3X) .TP 5 -\fBis_notimeout\fR -returns the value set in \fBnotimeout\fR +\fBis_notimeout\fP +returns the value set in \fBnotimeout\fP(3X) .TP 5 -\fBis_pad\fR -returns TRUE if the window is a pad -i.e., created by \fBnewpad\fP +\fBis_pad\fP +returns \fBTRUE\fP if the window is a pad +i.e., created by \fBnewpad\fP(3X) .TP 5 -\fBis_scrollok\fR -returns the value set in \fBscrollok\fR +\fBis_scrollok\fP +returns the value set in \fBscrollok\fP(3X) .TP 5 -\fBis_subwin\fR -returns TRUE if the window is a subwindow, -i.e., created by \fBsubwin\fP or \fBderwin\fP +\fBis_subwin\fP +returns \fBTRUE\fP if the window is a subwindow, +i.e., created by \fBsubwin\fP(3X) or \fBderwin\fP(3X) .TP 5 -\fBis_syncok\fR -returns the value set in \fBsyncok\fR +\fBis_syncok\fP +returns the value set in \fBsyncok\fP(3X) .TP 5 -\fBwgetdelay\fR -returns the delay timeout as set in \fBwtimeout\fP. +\fBwgetdelay\fP +returns the delay timeout as set in \fBwtimeout\fP(3X). .TP 5 -\fBwgetparent\fR +\fBwgetparent\fP returns the parent WINDOW pointer for subwindows, or NULL for windows having no parent. .TP 5 -\fBwgetscrreg\fR +\fBwgetscrreg\fP 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, except as noted. +These functions all return \fBTRUE\fP or \fBFALSE\fP, except as noted. .SH NOTES Both a macro and a function are provided for each name. .SH PORTABILITY @@ -145,7 +149,7 @@ They were not supported on Version 7, BSD or System V implementations. It is recommended that any code depending on ncurses extensions be conditioned using NCURSES_VERSION. .SH SEE ALSO -\fBcurses\fR(3X), -\fBcurs_inopts\fR(3X), -\fBcurs_outopts\fR(3X), -\fBcurs_window\fR(3X) +\fBcurses\fP(3X), +\fBcurs_inopts\fP(3X), +\fBcurs_outopts\fP(3X), +\fBcurs_window\fP(3X)