diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2007-10-24 14:32:55 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2007-10-24 14:32:55 (GMT) |
commit | dcb88dfe2197e712269a0f4f4ea2cf7c56fbb836 (patch) | |
tree | 09cfb7c149cd2c0c95d126aa8764f569b3e42063 /doc/winfo.n | |
parent | d618d6c84105f63eda83bb7f6db1bb099b317059 (diff) | |
download | tk-dcb88dfe2197e712269a0f4f4ea2cf7c56fbb836.zip tk-dcb88dfe2197e712269a0f4f4ea2cf7c56fbb836.tar.gz tk-dcb88dfe2197e712269a0f4f4ea2cf7c56fbb836.tar.bz2 |
Lots of improvements to look and feel of manual pages
Diffstat (limited to 'doc/winfo.n')
-rw-r--r-- | doc/winfo.n | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/winfo.n b/doc/winfo.n index 43bb69c..3f2bea4 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.8 2005/04/06 21:11:54 dkf Exp $ +'\" RCS: @(#) $Id: winfo.n,v 1.9 2007/10/24 14:32:59 dkf Exp $ '\" .so man.macros .TH winfo n 4.3 Tk "Tk Built-In Commands" @@ -57,7 +57,9 @@ 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 ``known'' to be full if the last +otherwise. The colormap for a window is +.QW 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. @@ -90,7 +92,10 @@ 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 ``2.0c'' or ``1i''. +to \fBTk_GetScreenMM\fR, such as +.QW 2.0c +or +.QW 1i . The return value may be fractional; for an integer value, use \fBwinfo pixels\fR. .TP @@ -155,7 +160,10 @@ 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 ``2.0c'' or ``1i''. +to \fBTk_GetPixels\fR, such as +.QW 2.0c +or +.QW 1i . The result is rounded to the nearest integer value; for a fractional result, use \fBwinfo fpixels\fR. .TP @@ -252,7 +260,8 @@ 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 ``\fBX\fImajor\fBR\fIminor vendor vendorVersion\fR'' +has the form +.QW "\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 |