summaryrefslogtreecommitdiffstats
path: root/library/scrlbar.tcl
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-08-09 14:59:12 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-08-09 14:59:12 (GMT)
commit8d7ac108d7cd591e1a0923757509c62cfeb1a2f3 (patch)
tree57746efe1742520b75333e90185f5f1680880270 /library/scrlbar.tcl
parent3a12127fdd022a3270c878b9db842f75d29e3f5c (diff)
downloadtk-8d7ac108d7cd591e1a0923757509c62cfeb1a2f3.zip
tk-8d7ac108d7cd591e1a0923757509c62cfeb1a2f3.tar.gz
tk-8d7ac108d7cd591e1a0923757509c62cfeb1a2f3.tar.bz2
8 new virtual events (doc not updated yet)
Diffstat (limited to 'library/scrlbar.tcl')
-rw-r--r--library/scrlbar.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 4a16f0b..1f8c7d2 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -91,16 +91,16 @@ bind Scrollbar <Control-2> {
tk::ScrollTopBottom %W %x %y
}
-bind Scrollbar <Up> {
+bind Scrollbar <<PrevLine>> {
tk::ScrollByUnits %W v -1
}
-bind Scrollbar <Down> {
+bind Scrollbar <<NextLine>> {
tk::ScrollByUnits %W v 1
}
-bind Scrollbar <Control-Up> {
+bind Scrollbar <<PrevPara>> {
tk::ScrollByPages %W v -1
}
-bind Scrollbar <Control-Down> {
+bind Scrollbar <<NextPara>> {
tk::ScrollByPages %W v 1
}
bind Scrollbar <<PrevChar>> {