diff options
author | csaba <csaba> | 2023-12-01 11:14:26 (GMT) |
---|---|---|
committer | csaba <csaba> | 2023-12-01 11:14:26 (GMT) |
commit | 8de2fd37d9a31b09faef7451a1dadeee69b1bf09 (patch) | |
tree | 73a229a4c8edffd7af2995020ec1257134fdcdcc /tests/scrollbar.test | |
parent | 4e24f43cde351b068bf94b3654926f2e5ade91b1 (diff) | |
download | tk-8de2fd37d9a31b09faef7451a1dadeee69b1bf09.zip tk-8de2fd37d9a31b09faef7451a1dadeee69b1bf09.tar.gz tk-8de2fd37d9a31b09faef7451a1dadeee69b1bf09.tar.bz2 |
Adapted scrollbar.test to the improvements in scrlbar.tcl; reverted the changes in scrlbar.tcl and ttk/notebook.tcl made in [c0b55af4].
Diffstat (limited to 'tests/scrollbar.test')
-rw-r--r-- | tests/scrollbar.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scrollbar.test b/tests/scrollbar.test index c84ce58..48eb734 100644 --- a/tests/scrollbar.test +++ b/tests/scrollbar.test @@ -677,6 +677,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 @@ -692,6 +693,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 @@ -706,6 +708,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 |