summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/scrollbar.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scrollbar.test b/tests/scrollbar.test
index edf263c..aac01e5 100644
--- a/tests/scrollbar.test
+++ b/tests/scrollbar.test
@@ -705,6 +705,7 @@ test scrollbar-10.1 {<MouseWheel> event on scrollbar} -setup {
pack [scrollbar .s -command {.t yview}] -fill y -expand 1 -side left
update
focus -force .s
+ event generate .s <Enter>
event generate .s <MouseWheel> -delta -120
after 200 {set eventprocessed 1} ; vwait eventprocessed
.t index @0,0
@@ -720,6 +721,7 @@ test scrollbar-10.2 {<MouseWheel> event on scrollbar} -setup {
pack [scrollbar .s -command {.t xview} -orient horizontal] -fill x -expand 1 -side top
update
focus -force .s
+ event generate .s <Enter>
event generate .s <Shift-MouseWheel> -delta -120
after 200 {set eventprocessed 1} ; vwait eventprocessed
.t index @0,0
@@ -734,6 +736,7 @@ test scrollbar-10.3 {<MouseWheel> event on horizontal scrollbar} -setup {
pack [scrollbar .s -command {.t xview} -orient horizontal] -fill x -expand 1 -side top
update
focus -force .s
+ event generate .s <Enter>
event generate .s <MouseWheel> -delta -120
after 200 {set eventprocessed 1} ; vwait eventprocessed
.t index @0,0