summaryrefslogtreecommitdiffstats
path: root/doc/grid.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/grid.n')
-rw-r--r--doc/grid.n24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/grid.n b/doc/grid.n
index 0cda2c3..51ef67d 100644
--- a/doc/grid.n
+++ b/doc/grid.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: grid.n,v 1.12 2004/09/19 16:05:37 dkf Exp $
+'\" RCS: @(#) $Id: grid.n,v 1.13 2004/10/28 10:22:51 dkf Exp $
'\"
.so man.macros
.TH grid n 8.5 Tk "Tk Built-In Commands"
@@ -34,9 +34,9 @@ processed in the same way as \fBgrid configure\fR.
.TP
\fBgrid anchor \fImaster\fR ?\fIanchor\fR?
The anchor value controls how to place the grid within the master
-when no row/column has any weight. See ``THE GRID ALGORITHM'' below
+when no row/column has any weight. See \fBTHE GRID ALGORITHM\fR below
for further details. The default \fIanchor\fR is \fInw\fR.
-.VE
+.VE 8.5
.TP
\fBgrid bbox \fImaster\fR ?\fIcolumn row\fR? ?\fIcolumn2 row2\fR?
With no arguments,
@@ -62,7 +62,7 @@ Indices may be integers, window names or the keyword \fIall\fP. For \fIall\fP
the options apply to all columns currently occupied be slave windows. For
a window name, that window must be a slave of this master and the options
apply to all columns currently occupied be the slave.
-.VE
+.VE 8.5
The \fB\-minsize\fP option sets the minimum size, in screen units,
that will be permitted for this column.
The \fB\-weight\fP option (an integer value)
@@ -77,7 +77,7 @@ the column in a \fIuniform group\fP with other columns that have the
same value for \fB-uniform\fP. The space for columns belonging to a
uniform group is allocated so that their sizes are always in strict
proportion to their \fB-weight\fP values. See
-``THE GRID ALGORITHM'' below for further details.
+\fBTHE GRID ALGORITHM\fR below for further details.
The \fB-pad\fP option specifies the number of screen units that will be
added to the largest window contained completely in that column when the
grid geometry manager requests a size from the containing window.
@@ -201,7 +201,7 @@ For locations that are above or to the left of the grid, \fB-1\fP is returned.
\fBgrid propagate \fImaster\fR ?\fIboolean\fR?
If \fIboolean\fR has a true boolean value such as \fB1\fR or \fBon\fR
then propagation is enabled for \fImaster\fR, which must be a window
-name (see ``GEOMETRY PROPAGATION'' below).
+name (see \fBGEOMETRY PROPAGATION\fR below).
If \fIboolean\fR has a false boolean value then propagation is
disabled for \fImaster\fR.
In either of these cases an empty string is returned.
@@ -222,7 +222,7 @@ Indices may be integers, window names or the keyword \fIall\fP. For \fIall\fP
the options apply to all rows currently occupied be slave windows. For
a window name, that window must be a slave of this master and the options
apply to all rows currently occupied be the slave.
-.VE
+.VE 8.5
The \fB\-minsize\fP option sets the minimum size, in screen units,
that will be permitted for this row.
The \fB\-weight\fP option (an integer value)
@@ -237,7 +237,7 @@ the row in a \fIuniform group\fP with other rows that have the
same value for \fB-uniform\fP. The space for rows belonging to a
uniform group is allocated so that their sizes are always in strict
proportion to their \fB-weight\fP values. See
-``THE GRID ALGORITHM'' below for further details.
+\fBTHE GRID ALGORITHM\fR below for further details.
The \fB-pad\fP option specifies the number of screen units that will be
added to the largest window contained completely in that row when the
grid geometry manager requests a size from the containing window.
@@ -351,7 +351,7 @@ column or row shrinks to its minsize, its weight is taken to be zero.
If more space needs to be removed from a layout than would be permitted, as
when all the rows or columns are at their minimum sizes, the layout is
placed and clipped according to the \fIanchor\fR value.
-.VE
+.VE 8.5
.SH "GEOMETRY PROPAGATION"
.PP
The grid geometry manager normally computes how large a master must be to
@@ -400,8 +400,8 @@ scrollbar .t.h \-orient horizontal \-command {.t.txt xview}
\fBgrid\fR .t.txt .t.v \-sticky nsew
\fBgrid\fR .t.h \-sticky nsew
# Tell the text widget to take all the extra room
-\fBgrid\fR rowconfigure .t .t.txt -weight 1
-\fBgrid\fR columnconfigure .t .t.txt -weight 1
+\fBgrid rowconfigure\fR .t .t.txt -weight 1
+\fBgrid columnconfigure\fR .t .t.txt -weight 1
.CE
.PP
Three widgets of equal width, despite their different "natural" widths:
@@ -410,7 +410,7 @@ button .b \-text "Foo"
entry .e \-variable foo
label .l \-text "This is a fairly long piece of text"
\fBgrid\fR .b .e .l \-sticky ew
-\fBgrid\fR columnconfigure . "all" \-uniform allTheSame
+\fBgrid columnconfigure\fR . "all" \-uniform allTheSame
.CE
.SH "SEE ALSO"