From a0fce56472105923e201075f7069ba2d53fc58f5 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 12 Dec 2000 10:35:25 +0000 Subject: Minor improvement to documentation for entry widgets. --- ChangeLog | 5 +++++ doc/entry.n | 9 +++++++-- 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 + + * doc/entry.n: Improved documentation of interplay between the + -state and -textvariable options. + 2000-11-29 Donal K. Fellows * 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. -- cgit v0.12