summaryrefslogtreecommitdiffstats
path: root/library/entry.tcl
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2004-10-19 18:56:00 (GMT)
committerjenglish@flightlab.com <jenglish>2004-10-19 18:56:00 (GMT)
commit06ab36e6523b01b165b678b9a62d43bbfa4f0c50 (patch)
treee271148869cd9d31a55ab0cf4d581b1b34e00d21 /library/entry.tcl
parenta8cbc1a22e2bd23f119334ab80cb8fb695de3548 (diff)
downloadtk-06ab36e6523b01b165b678b9a62d43bbfa4f0c50.zip
tk-06ab36e6523b01b165b678b9a62d43bbfa4f0c50.tar.gz
tk-06ab36e6523b01b165b678b9a62d43bbfa4f0c50.tar.bz2
TIP #204 "Virtual Events for Keyboard Traversal" (patch #976928)
Diffstat (limited to 'library/entry.tcl')
-rw-r--r--library/entry.tcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/entry.tcl b/library/entry.tcl
index 2718145..e882972 100644
--- a/library/entry.tcl
+++ b/library/entry.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk entry widgets and provides
# procedures that help in implementing those bindings.
#
-# RCS: @(#) $Id: entry.tcl,v 1.22 2004/03/17 18:15:44 das Exp $
+# RCS: @(#) $Id: entry.tcl,v 1.23 2004/10/19 18:56:01 jenglish Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -69,6 +69,11 @@ bind Entry <<PasteSelection>> {
}
}
+bind Entry <<TraverseIn>> {
+ %W selection range 0 end
+ %W icursor end
+}
+
# Standard Motif bindings:
bind Entry <1> {