diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 14:59:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 14:59:12 (GMT) |
commit | 26992eba70ff3f4f9c8b3d0054916858ffeaf155 (patch) | |
tree | 57746efe1742520b75333e90185f5f1680880270 /library/spinbox.tcl | |
parent | ebe99473e61961e6e6c4525ed9efe66f7c3de308 (diff) | |
download | tk-26992eba70ff3f4f9c8b3d0054916858ffeaf155.zip tk-26992eba70ff3f4f9c8b3d0054916858ffeaf155.tar.gz tk-26992eba70ff3f4f9c8b3d0054916858ffeaf155.tar.bz2 |
8 new virtual events (doc not updated yet)
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r-- | library/spinbox.tcl | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl index d5b4d79..54d8fe6 100644 --- a/library/spinbox.tcl +++ b/library/spinbox.tcl @@ -120,10 +120,10 @@ bind Spinbox <Control-1> { %W icursor @%x } -bind Spinbox <Up> { +bind Spinbox <<PrevLine>> { %W invoke buttonup } -bind Spinbox <Down> { +bind Spinbox <<NextLine>> { %W invoke buttondown } @@ -231,21 +231,11 @@ if {[tk windowingsystem] ne "win32"} { # Additional emacs-like bindings: -bind Spinbox <Control-b> { - if {!$tk_strictMotif} { - ::tk::EntrySetCursor %W [expr {[%W index insert] - 1}] - } -} bind Spinbox <Control-d> { if {!$tk_strictMotif} { %W delete insert } } -bind Spinbox <Control-f> { - if {!$tk_strictMotif} { - ::tk::EntrySetCursor %W [expr {[%W index insert] + 1}] - } -} bind Spinbox <Control-h> { if {!$tk_strictMotif} { ::tk::EntryBackspace %W |