summaryrefslogtreecommitdiffstats
path: root/doc/panedwindow.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/panedwindow.n')
-rw-r--r--doc/panedwindow.n12
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/panedwindow.n b/doc/panedwindow.n
index f158866..0673db3 100644
--- a/doc/panedwindow.n
+++ b/doc/panedwindow.n
@@ -1,3 +1,4 @@
+'\" -*- nroff -*-
'\"
'\" Copyright (c) 1992 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -5,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: panedwindow.n,v 1.14 2008/01/31 16:29:34 dkf Exp $
+'\" RCS: @(#) $Id: panedwindow.n,v 1.15 2008/06/30 22:57:03 dkf Exp $
'\"
.so man.macros
.TH panedwindow n 8.4 Tk "Tk Built-In Commands"
@@ -197,11 +198,9 @@ height may later be adjusted by the movement of sashes in the
panedwindow. \fISize\fR may be any value accepted by \fBTk_GetPixels\fR.
.TP
\fB\-hide \fIboolean\fR
-.VS 8.5
Controls the visibility of a pane. When the \fIboolean\fR is true
(according to \fBTcl_GetBoolean\fR) the pane will not be visible, but
it will still be maintained in the list of panes.
-.VE 8.5
.TP
\fB\-minsize \fIn\fR
Specifies that the size of the window cannot be made less than
@@ -234,7 +233,6 @@ are specified, the window will be stretched to fill the entire height
(or width) of its cavity.
.TP
\fB\-stretch \fIwhen\fR
-.VS 8.5
Controls how extra space is allocated to each of the panes.
\fIWhen\fR is one of \fBalways\fR, \fBfirst\fR, \fBlast\fR,
\fBmiddle\fR, and \fBnever\fR.
@@ -249,11 +247,11 @@ definition:
This pane will always stretch.
.TP
\fBfirst\fR
-Only if this pane is the first pane (left-most or top-most) will it
+Only if this pane is the first pane (left-most or top-most) will it
stretch.
.TP
\fBlast\fR
-Only if this pane is the last pane (right-most or bottom-most) will it
+Only if this pane is the last pane (right-most or bottom-most) will it
stretch. This is the default value.
.TP
\fBmiddle\fR
@@ -262,7 +260,6 @@ Only if this pane is not the first or last pane will it stretch.
\fBnever\fR
This pane will never stretch.
.RE
-.VE 8.5
.TP
\fB\-width \fIsize\fR
Specify a width for the window. The width will be the outer
@@ -276,6 +273,7 @@ panedwindow. \fISize\fR may be any value accepted by \fBTk_GetPixels\fR.
\fIpathName \fBpanes\fR
Returns an ordered list of the widgets managed by \fIpathName\fR.
.SH "RESIZING PANES"
+.PP
A pane is resized by grabbing the sash (or sash handle if present) and
dragging with the mouse. This is accomplished via mouse motion
bindings on the widget. When a sash is moved, the sizes of the panes