summaryrefslogtreecommitdiffstats
path: root/library/entry.tcl
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2004-10-19 18:56:00 (GMT)
committerjenglish <jenglish@flightlab.com>2004-10-19 18:56:00 (GMT)
commit46143310c8d375a9451e63ce753d1c654468a98c (patch)
treee271148869cd9d31a55ab0cf4d581b1b34e00d21 /library/entry.tcl
parentbc7953bb9ea9f68296b5274ebcde73616c14c379 (diff)
downloadtk-46143310c8d375a9451e63ce753d1c654468a98c.zip
tk-46143310c8d375a9451e63ce753d1c654468a98c.tar.gz
tk-46143310c8d375a9451e63ce753d1c654468a98c.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> {