diff options
Diffstat (limited to 'doc/winfo.n')
-rw-r--r-- | doc/winfo.n | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/doc/winfo.n b/doc/winfo.n index 3f2bea4..0c624e7 100644 --- a/doc/winfo.n +++ b/doc/winfo.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: winfo.n,v 1.9 2007/10/24 14:32:59 dkf Exp $ +'\" RCS: @(#) $Id: winfo.n,v 1.10 2007/10/26 20:13:23 dgp Exp $ '\" .so man.macros .TH winfo n 4.3 Tk "Tk Built-In Commands" @@ -57,9 +57,7 @@ Returns the class name for \fIwindow\fR. .TP \fBwinfo colormapfull \fIwindow\fR Returns 1 if the colormap for \fIwindow\fR is known to be full, 0 -otherwise. The colormap for a window is -.QW known -to be full if the last +otherwise. The colormap for a window is ``known'' to be full if the last attempt to allocate a new color on that window failed and this application hasn't freed any colors in the colormap since the failed allocation. @@ -92,10 +90,7 @@ window exists. Returns a floating-point value giving the number of pixels in \fIwindow\fR corresponding to the distance given by \fInumber\fR. \fINumber\fR may be specified in any of the forms acceptable -to \fBTk_GetScreenMM\fR, such as -.QW 2.0c -or -.QW 1i . +to \fBTk_GetScreenMM\fR, such as ``2.0c'' or ``1i''. The return value may be fractional; for an integer value, use \fBwinfo pixels\fR. .TP @@ -160,10 +155,7 @@ the display of the application's main window. Returns the number of pixels in \fIwindow\fR corresponding to the distance given by \fInumber\fR. \fINumber\fR may be specified in any of the forms acceptable -to \fBTk_GetPixels\fR, such as -.QW 2.0c -or -.QW 1i . +to \fBTk_GetPixels\fR, such as ``2.0c'' or ``1i''. The result is rounded to the nearest integer value; for a fractional result, use \fBwinfo fpixels\fR. .TP @@ -260,8 +252,7 @@ in pixels. Returns a string containing information about the server for \fIwindow\fR's display. The exact format of this string may vary from platform to platform. For X servers the string -has the form -.QW "\fBX\fImajor\fBR\fIminor vendor vendorVersion\fR" +has the form ``\fBX\fImajor\fBR\fIminor vendor vendorVersion\fR'' where \fImajor\fR and \fIminor\fR are the version and revision numbers provided by the server (e.g., \fBX11R5\fR), \fIvendor\fR is the name of the vendor for the server, and \fIvendorRelease\fR |