summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-07-11 07:30:24 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-07-11 07:30:24 (GMT)
commit3daccd1085ac968f179ea7cd8e24707a89bb7466 (patch)
tree2acbbc456d90ad85b4a800aa97b23fd31c953d7e
parent4afddf85cdfd287a1e6d5d70a087a4b0f8853b81 (diff)
downloadtk-3daccd1085ac968f179ea7cd8e24707a89bb7466.zip
tk-3daccd1085ac968f179ea7cd8e24707a89bb7466.tar.gz
tk-3daccd1085ac968f179ea7cd8e24707a89bb7466.tar.bz2
[Bug 2818455]: Corrected example.
-rw-r--r--ChangeLog31
-rw-r--r--doc/grid.n7
2 files changed, 22 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 693f3ff..36cc75f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-11 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/grid.n: [Bug 2818455]: Corrected example.
+
2009-06-27 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.decls (Tk(Orient|Smooth)(Parse|Print)Proc):
@@ -6,11 +10,11 @@
2009-06-23 Jan Nijtmans <nijtmans@users.sf.net>
- * generic/tkCanvUtil.c fix [Bug #220935] canvas dash update problem
+ * generic/tkCanvUtil.c: [Bug 220935]: canvas dash update problem
2009-06-02 Pat Thoyts <patthoyts@users.sourceforge.net>
- * win/tkWinWm.c: [Bug 2799589] Backported fix for crash on
+ * win/tkWinWm.c: [Bug 2799589]: Backported fix for crash on
* tests/winWm.test: delayed window activation.
2009-05-21 Pat Thoyts <patthoyts@users.sourceforge.net>
@@ -20,7 +24,7 @@
2009-05-14 Pat Thoyts <patthoyts@users.sourceforge.net>
- * generic/tkButton.c: [Bug 1923684]: backported checkbutton fix
+ * generic/tkButton.c: [Bug 1923684]: Backported checkbutton fix
for confused state when -offvalue equals -tristatevalue
2009-05-14 Pat Thoyts <patthoyts@users.sourceforge.net>
@@ -40,7 +44,7 @@
2009-05-13 Pat Thoyts <patthoyts@users.sourceforge.net>
- * generic/tkFont.c: [Bug 2791352]: backported fix and tests for
+ * generic/tkFont.c: [Bug 2791352]: Backported fix and tests for
* tests/font.test: mis-parsing of certain font descriptions.
2009-05-03 Donal K. Fellows <dkf@users.sf.net>
@@ -60,7 +64,7 @@
2009-04-28 Jeff Hobbs <jeffh@ActiveState.com>
- * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the check
+ * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): Harden the check
to add _r to CC on AIX with threads.
2009-04-27 Donal K. Fellows <dkf@users.sf.net>
@@ -71,25 +75,24 @@
2009-04-24 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinDialog.c (ChooseDirectoryValidateProc): no need to set
+ * win/tkWinDialog.c (ChooseDirectoryValidateProc): No need to set
cwd on selchange. Prevents delete of selected folder in dialog.
2009-04-24 Stuart Cassoff <stwo@users.sf.net>
- * unix/Makefile.in: Removed stray @ from Makefile.in test target.
- [Bug 2764263], Don't chmod+x square demo. [Bug 1945073],
- Adjustable demo install location. [Patch 2764272]
+ * unix/Makefile.in: [Bug 2764263]: Removed stray @ from
+ Makefile.in test target. [Bug 1945073]: Don't chmod+x square demo.
+ [Patch 2764272]: Adjustable demo install location.
2009-04-24 Stuart Cassoff <stwo@users.sf.net>
- * unix/Makefile.in: Don't chmod/exec installManPage.
- [Patch 2769530]
+ * unix/Makefile.in: [Patch 2769530]: Don't chmod/exec installManPage.
2009-04-23 Jeff Hobbs <jeffh@ActiveState.com>
- * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): enable the new
- style choosedir that has a "New Folder" button, with
- ::tk::winChooseDirFlags override for new behavior. [Bug 2779910]
+ * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): [Bug 2779910]: Enable
+ the new style choosedir that has a "New Folder" button, with
+ ::tk::winChooseDirFlags override for new behavior.
2009-04-15 Don Porter <dgp@users.sourceforge.net>
diff --git a/doc/grid.n b/doc/grid.n
index 1ae1ea4..271e042 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.20 2007/12/13 15:23:43 dgp Exp $
+'\" RCS: @(#) $Id: grid.n,v 1.20.2.1 2009/07/11 07:30:24 dkf Exp $
'\"
.so man.macros
.TH grid n 8.5 Tk "Tk Built-In Commands"
@@ -404,11 +404,13 @@ A toplevel window containing a text widget and two scrollbars:
# Make the widgets
toplevel .t
text .t.txt \-wrap none \-xscroll {.t.h set} \-yscroll {.t.v set}
-scrollbar .t.v \-orient vertical \-command {.t.txt xview}
+scrollbar .t.v \-orient vertical \-command {.t.txt yview}
scrollbar .t.h \-orient horizontal \-command {.t.txt xview}
+
# Lay them out
\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 rowconfigure\fR .t .t.txt \-weight 1
\fBgrid columnconfigure\fR .t .t.txt \-weight 1
@@ -421,6 +423,7 @@ widths:
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 columnconfigure\fR . "all" \-uniform allTheSame
.CE