summaryrefslogtreecommitdiffstats
path: root/doc/grid.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-21 14:41:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-21 14:41:42 (GMT)
commitc307df3c6477192c328a7dc011ef0fc8c90f0319 (patch)
treebaa9b4ec0a536e712ad1da36c2f7b78ea9319a2a /doc/grid.n
parent8dde2710be663b37eaeea2da9b8c4db5064c2292 (diff)
downloadtk-c307df3c6477192c328a7dc011ef0fc8c90f0319.zip
tk-c307df3c6477192c328a7dc011ef0fc8c90f0319.tar.gz
tk-c307df3c6477192c328a7dc011ef0fc8c90f0319.tar.bz2
Minor update for increased clarity.
Diffstat (limited to 'doc/grid.n')
-rw-r--r--doc/grid.n16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/grid.n b/doc/grid.n
index 0242b74..fc0d6aa 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.9 2004/06/21 14:40:15 dkf Exp $
+'\" RCS: @(#) $Id: grid.n,v 1.10 2004/06/21 14:41:42 dkf Exp $
'\"
.so man.macros
.TH grid n 8.5 Tk "Tk Built-In Commands"
@@ -397,20 +397,20 @@ text .t.txt \-wrap none \-xscroll {.t.h set} \-yscroll {.t.v set}
scrollbar .t.v \-orient vertical \-command {.t.txt xview}
scrollbar .t.h \-orient horizontal \-command {.t.txt xview}
# Lay them out
-grid .t.txt .t.v \-sticky nsew
-grid .t.h \-sticky nsew
+\fBgrid\fR .t.txt .t.v \-sticky nsew
+\fBgrid\fR .t.h \-sticky nsew
# Tell the text widget to take all the extra room
-grid rowconfigure .t .t.txt -weight 1
-grid columnconfigure .t .t.txt -weight 1
+\fBgrid\fR rowconfigure .t .t.txt -weight 1
+\fBgrid\fR columnconfigure .t .t.txt -weight 1
.CE
.PP
-Three widgets of equal width:
+Three widgets of equal width, despite their different "natural" widths:
.CS
button .b \-text "Foo"
entry .e \-variable foo
label .l \-text "This is a fairly long piece of text"
-grid .b .e .l \-sticky ew
-grid columnconfigure . "all" \-uniform allTheSame
+\fBgrid\fR .b .e .l \-sticky ew
+\fBgrid\fR columnconfigure . "all" \-uniform allTheSame
.CE
.SH "SEE ALSO"