diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-21 14:41:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-21 14:41:42 (GMT) |
commit | c307df3c6477192c328a7dc011ef0fc8c90f0319 (patch) | |
tree | baa9b4ec0a536e712ad1da36c2f7b78ea9319a2a /doc/grid.n | |
parent | 8dde2710be663b37eaeea2da9b8c4db5064c2292 (diff) | |
download | tk-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.n | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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" |