diff options
author | peter.spjuth@gmail.com <pspjuth> | 2004-11-07 22:21:12 (GMT) |
---|---|---|
committer | peter.spjuth@gmail.com <pspjuth> | 2004-11-07 22:21:12 (GMT) |
commit | 4e18396cfd64442a43724f5454f50535c0286d93 (patch) | |
tree | dc26327c9347c612961ff3f9cb80a908e872966f /doc/frame.n | |
parent | bbb64b87c9de6001f13d7f7b2f0a30103ce21a3f (diff) | |
download | tk-4e18396cfd64442a43724f5454f50535c0286d93.zip tk-4e18396cfd64442a43724f5454f50535c0286d93.tar.gz tk-4e18396cfd64442a43724f5454f50535c0286d93.tar.bz2 |
doc/frame.n: Added some info for -width/-height options. [Bug 1055423]
Diffstat (limited to 'doc/frame.n')
-rw-r--r-- | doc/frame.n | 20 |
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 |