summaryrefslogtreecommitdiffstats
path: root/doc/canvas.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-07-14 08:40:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-07-14 08:40:43 (GMT)
commitf3c805f63724d88a8dffc0b5c91573aa5b503c29 (patch)
treeabb8ca8810cc255ce34b62581164ce98607eb6e7 /doc/canvas.n
parentbedbb867acc539f2114eaaaa69ff8b48fbc41c97 (diff)
downloadtk-f3c805f63724d88a8dffc0b5c91573aa5b503c29.zip
tk-f3c805f63724d88a8dffc0b5c91573aa5b503c29.tar.gz
tk-f3c805f63724d88a8dffc0b5c91573aa5b503c29.tar.bz2
Corrected definition of -height and -width for canvas' window items. [2326602]
Diffstat (limited to 'doc/canvas.n')
-rw-r--r--doc/canvas.n14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/canvas.n b/doc/canvas.n
index 1899914..fe885dd 100644
--- a/doc/canvas.n
+++ b/doc/canvas.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: canvas.n,v 1.34 2008/01/30 12:00:38 dkf Exp $
+'\" RCS: @(#) $Id: canvas.n,v 1.34.2.1 2009/07/14 08:40:43 dkf Exp $
'\"
.so man.macros
.TH canvas n 8.3 Tk "Tk Built-In Commands"
@@ -1790,6 +1790,7 @@ The following standard options are supported by window items:
The following extra options are supported for window items:
.TP
\fB\-anchor \fIanchorPos\fR
+.
\fIAnchorPos\fR tells how to position the window relative to the
positioning point for the item; it may have any of the forms
accepted by \fBTk_GetAnchor\fR. For example, if \fIanchorPos\fR
@@ -1799,20 +1800,23 @@ its top center point is at the positioning point.
This option defaults to \fBcenter\fR.
.TP
\fB\-height \fIpixels\fR
+.
Specifies the height to assign to the item's window.
\fIPixels\fR may have any of the
forms described in the \fBCOORDINATES\fR section above.
-If this option is not specified, or if it is specified as an empty
-string, then the window is given whatever height it requests internally.
+If this option is not specified, or if it is specified as zero,
+then the window is given whatever height it requests internally.
.TP
\fB\-width \fIpixels\fR
+.
Specifies the width to assign to the item's window.
\fIPixels\fR may have any of the
forms described in the \fBCOORDINATES\fR section above.
-If this option is not specified, or if it is specified as an empty
-string, then the window is given whatever width it requests internally.
+If this option is not specified, or if it is specified as zero,
+then the window is given whatever width it requests internally.
.TP
\fB\-window \fIpathName\fR
+.
Specifies the window to associate with this item.
The window specified by \fIpathName\fR must either be a child of
the canvas widget or a child of some ancestor of the canvas widget.