diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 11:03:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-09 11:03:00 (GMT) |
commit | c022d991663c8b76a27664090d92df0ad1a01dbb (patch) | |
tree | b8267b8025bccdba2a79df3790081030fc9e28ec /library/scale.tcl | |
parent | b33639f20e412831ed8724517ba70b2cdab6be57 (diff) | |
download | tk-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.tcl | 12 |
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] } |