summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2004-11-07 22:21:12 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2004-11-07 22:21:12 (GMT)
commit1bb14dfb3bbf5bffb43803bc53e003ec0e6233ca (patch)
treedc26327c9347c612961ff3f9cb80a908e872966f /doc
parentce2b25e17cc451455a42e252bebe6d79a041b49d (diff)
downloadtk-1bb14dfb3bbf5bffb43803bc53e003ec0e6233ca.zip
tk-1bb14dfb3bbf5bffb43803bc53e003ec0e6233ca.tar.gz
tk-1bb14dfb3bbf5bffb43803bc53e003ec0e6233ca.tar.bz2
doc/frame.n: Added some info for -width/-height options. [Bug 1055423]
Diffstat (limited to 'doc')
-rw-r--r--doc/frame.n20
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/frame.n b/doc/frame.n
index cb00955..5ab53f8 100644
--- a/doc/frame.n
+++ b/doc/frame.n
@@ -6,7 +6,7 @@
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
'\"
-'\" RCS: @(#) $Id: frame.n,v 1.4 2001/09/26 21:36:19 pspjuth Exp $
+'\" RCS: @(#) $Id: frame.n,v 1.5 2004/11/07 22:21:13 pspjuth Exp $
'\"
.so man.macros
.TH frame n 8.4 Tk "Tk Built-In Commands"
@@ -57,9 +57,12 @@ This option may not be changed with the \fBconfigure\fR
widget command.
.OP \-height height Height
Specifies the desired height for the window in any of the forms
-acceptable to \fBTk_GetPixels\fR.
-If this option is less than or equal to zero then the window will
-not request any size at all.
+acceptable to \fBTk_GetPixels\fR. If this option is less than or equal
+to zero then the window will not request any size at all. Note that this
+sets the total height of the frame, any \fB-borderwidth\fR or similar is
+not added. Normally \fB\-height\fR should not be used if a propagating
+geometry manager, such as \fBgrid\fR or \fBpack\fR, is used within the
+frame since the geometry manager will override the height of the frame.
.OP \-visual visual Visual
Specifies visual information for the new window in any of the
forms accepted by \fBTk_GetVisual\fR.
@@ -69,9 +72,12 @@ The \fBvisual\fR option may not be modified with the \fBconfigure\fR
widget command.
.OP \-width width Width
Specifies the desired width for the window in any of the forms
-acceptable to \fBTk_GetPixels\fR.
-If this option is less than or equal to zero then the window will
-not request any size at all.
+acceptable to \fBTk_GetPixels\fR. If this option is less than or equal
+to zero then the window will not request any size at all. Note that this
+sets the total width of the frame, any \fB-borderwidth\fR or similar is
+not added. Normally \fB\-width\fR should not be used if a propagating
+geometry manager, such as \fBgrid\fR or \fBpack\fR, is used within the
+frame since the geometry manager will override the width of the frame.
.BE
.SH DESCRIPTION