summaryrefslogtreecommitdiffstats
path: root/library/scale.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 11:03:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 11:03:00 (GMT)
commitc022d991663c8b76a27664090d92df0ad1a01dbb (patch)
treeb8267b8025bccdba2a79df3790081030fc9e28ec /library/scale.tcl
parentb33639f20e412831ed8724517ba70b2cdab6be57 (diff)
downloadtk-c022d991663c8b76a27664090d92df0ad1a01dbb.zip
tk-c022d991663c8b76a27664090d92df0ad1a01dbb.tar.gz
tk-c022d991663c8b76a27664090d92df0ad1a01dbb.tar.bz2
[Bug 3555644]: Better use of virtual events.
Diffstat (limited to 'library/scale.tcl')
-rw-r--r--library/scale.tcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/scale.tcl b/library/scale.tcl
index b4da824..72a254a 100644
--- a/library/scale.tcl
+++ b/library/scale.tcl
@@ -77,10 +77,10 @@ bind Scale <Up> {
bind Scale <Down> {
tk::ScaleIncrement %W down little noRepeat
}
-bind Scale <Left> {
+bind Scale <<PrevChar>> {
tk::ScaleIncrement %W up little noRepeat
}
-bind Scale <Right> {
+bind Scale <<NextChar>> {
tk::ScaleIncrement %W down little noRepeat
}
bind Scale <Control-Up> {
@@ -89,16 +89,16 @@ bind Scale <Control-Up> {
bind Scale <Control-Down> {
tk::ScaleIncrement %W down big noRepeat
}
-bind Scale <Control-Left> {
+bind Scale <<PrevWord>> {
tk::ScaleIncrement %W up big noRepeat
}
-bind Scale <Control-Right> {
+bind Scale <<NextWord>> {
tk::ScaleIncrement %W down big noRepeat
}
-bind Scale <Home> {
+bind Scale <<LineStart>> {
%W set [%W cget -from]
}
-bind Scale <End> {
+bind Scale <<LineEnd>> {
%W set [%W cget -to]
}