summaryrefslogtreecommitdiffstats
path: root/library/scrlbar.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/scrlbar.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/scrlbar.tcl')
-rw-r--r--library/scrlbar.tcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 9277160..4a16f0b 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -103,16 +103,16 @@ bind Scrollbar <Control-Up> {
bind Scrollbar <Control-Down> {
tk::ScrollByPages %W v 1
}
-bind Scrollbar <Left> {
+bind Scrollbar <<PrevChar>> {
tk::ScrollByUnits %W h -1
}
-bind Scrollbar <Right> {
+bind Scrollbar <<NextChar>> {
tk::ScrollByUnits %W h 1
}
-bind Scrollbar <Control-Left> {
+bind Scrollbar <<PrevWord>> {
tk::ScrollByPages %W h -1
}
-bind Scrollbar <Control-Right> {
+bind Scrollbar <<NextWord>> {
tk::ScrollByPages %W h 1
}
bind Scrollbar <Prior> {
@@ -121,10 +121,10 @@ bind Scrollbar <Prior> {
bind Scrollbar <Next> {
tk::ScrollByPages %W hv 1
}
-bind Scrollbar <Home> {
+bind Scrollbar <<LineStart>> {
tk::ScrollToPos %W 0
}
-bind Scrollbar <End> {
+bind Scrollbar <<LineEnd>> {
tk::ScrollToPos %W 1
}
}