summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2000-12-12 10:35:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2000-12-12 10:35:25 (GMT)
commita0fce56472105923e201075f7069ba2d53fc58f5 (patch)
tree3e11fda59ad4830fe7be1ceb708ba7797bd90cfc
parente16059b4672ebbe9ff5cc2b37006b05dd8c1c380 (diff)
downloadtk-a0fce56472105923e201075f7069ba2d53fc58f5.zip
tk-a0fce56472105923e201075f7069ba2d53fc58f5.tar.gz
tk-a0fce56472105923e201075f7069ba2d53fc58f5.tar.bz2
Minor improvement to documentation for entry widgets.
-rw-r--r--ChangeLog5
-rw-r--r--doc/entry.n9
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c7db61..c3d87d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * doc/entry.n: Improved documentation of interplay between the
+ -state and -textvariable options.
+
2000-11-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* tests/image.test (image-1.10): Improved this test, which
diff --git a/doc/entry.n b/doc/entry.n
index b01f785..d004b31 100644
--- a/doc/entry.n
+++ b/doc/entry.n
@@ -6,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: entry.n,v 1.8 2000/08/25 06:58:32 ericm Exp $
+'\" RCS: @(#) $Id: entry.n,v 1.9 2000/12/12 10:35:25 dkf Exp $
'\"
.so man.macros
.TH entry n 8.3 Tk "Tk Built-In Commands"
@@ -535,7 +535,12 @@ the insertion cursor.
If the entry is disabled using the \fB\-state\fR option, then the entry's
view can still be adjusted and text in the entry can still be selected,
but no insertion cursor will be displayed and no text modifications will
-take place.
+take place
+.VS
+except if the entry is linked to a variable using the \fB\-textvariable\fR
+option, in which case any changes to the variable are reflected by the
+entry whatever the value of its \fB\-state\fR option.
+.VE
.PP
The behavior of entries can be changed by defining new bindings for
individual widgets or by redefining the class bindings.