summaryrefslogtreecommitdiffstats
path: root/doc/GetVisual.3
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2007-10-29 16:04:10 (GMT)
committerdkf <dkf@noemail.net>2007-10-29 16:04:10 (GMT)
commit4608ded75d542c786aae5d6f4b86bd1bd8e3f0be (patch)
treef1b13d0b63bdcb785dc2718534eb209b9796d50b /doc/GetVisual.3
parentb61148e3f8da053b11e21cf1fa21423086dd6810 (diff)
downloadtk-4608ded75d542c786aae5d6f4b86bd1bd8e3f0be.zip
tk-4608ded75d542c786aae5d6f4b86bd1bd8e3f0be.tar.gz
tk-4608ded75d542c786aae5d6f4b86bd1bd8e3f0be.tar.bz2
Lots more GOOBE stuff. Now works with 'make html'!
FossilOrigin-Name: 6373cd0cf2deb3038f42488bf9ad272b2d9aed9e
Diffstat (limited to 'doc/GetVisual.3')
-rw-r--r--doc/GetVisual.324
1 files changed, 14 insertions, 10 deletions
diff --git a/doc/GetVisual.3 b/doc/GetVisual.3
index d6be97b..3b394ef 100644
--- a/doc/GetVisual.3
+++ b/doc/GetVisual.3
@@ -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: GetVisual.3,v 1.6 2007/10/26 20:13:23 dgp Exp $
+'\" RCS: @(#) $Id: GetVisual.3,v 1.7 2007/10/29 16:04:12 dkf Exp $
'\"
.so man.macros
.TH Tk_GetVisual 3 4.0 Tk "Tk Library Procedures"
@@ -33,7 +33,6 @@ Depth of returned visual gets stored here.
If non-NULL then a suitable colormap for visual is found and its
identifier is stored here.
.BE
-
.SH DESCRIPTION
.PP
\fBTk_GetVisual\fR takes a string description of a visual and
@@ -76,23 +75,28 @@ as \fItkwin\fR.
Use the visual whose X identifier is \fInumber\fR.
.TP 15
\fBbest\fR ?\fIdepth\fR?
-Choose the ``best possible'' visual, using the following rules, in
-decreasing order of priority:
-(a) a visual that has exactly the desired depth is best, followed
+Choose the
+.QW "best possible"
+visual, using the following rules, in decreasing order of priority:
+.RS
+.IP (a)
+a visual that has exactly the desired depth is best, followed
by a visual with greater depth than requested (but as little extra
as possible), followed by a visual with less depth than requested
(but as great a depth as possible);
-(b) if no \fIdepth\fR is specified, then the deepest available visual
+.IP (b)
+if no \fIdepth\fR is specified, then the deepest available visual
is chosen;
-(c) \fBpseudocolor\fR is better than \fBtruecolor\fR or \fBdirectcolor\fR,
+.IP (c)
+\fBpseudocolor\fR is better than \fBtruecolor\fR or \fBdirectcolor\fR,
which are better than \fBstaticcolor\fR, which is better than
\fBstaticgray\fR or \fBgrayscale\fR;
-(d) the default visual for the screen is better than any other visual.
-
+.IP (d)
+the default visual for the screen is better than any other visual.
+.RE
.SH CREDITS
.PP
The idea for \fBTk_GetVisual\fR, and the first implementation, came
from Paul Mackerras.
-
.SH KEYWORDS
colormap, screen, visual