summaryrefslogtreecommitdiffstats
path: root/library/spinbox.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/spinbox.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/spinbox.tcl')
-rw-r--r--library/spinbox.tcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl
index e774e59..d8d2d8a 100644
--- a/library/spinbox.tcl
+++ b/library/spinbox.tcl
@@ -4,7 +4,7 @@
# procedures that help in implementing those bindings. The spinbox builds
# off the entry widget, so it can reuse Entry bindings and procedures.
#
-# RCS: @(#) $Id: spinbox.tcl,v 1.7 2004/03/17 18:15:45 das Exp $
+# RCS: @(#) $Id: spinbox.tcl,v 1.8 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.
@@ -75,6 +75,11 @@ bind Spinbox <<PasteSelection>> {
}
}
+bind Spinbox <<TraverseIn>> {
+ %W selection range 0 end
+ %W icursor end
+}
+
# Standard Motif bindings:
bind Spinbox <1> {