diff options
author | csaba <csaba> | 2023-12-01 11:16:13 (GMT) |
---|---|---|
committer | csaba <csaba> | 2023-12-01 11:16:13 (GMT) |
commit | 18176eb40df91e9dda2a84f975c7ef8f6b4dbe9f (patch) | |
tree | b9131774622e08be57a00f3160147041de828bbe /tests | |
parent | aebe99c5cd0054e2082eb5b68ab6ccee193a05d0 (diff) | |
download | tk-18176eb40df91e9dda2a84f975c7ef8f6b4dbe9f.zip tk-18176eb40df91e9dda2a84f975c7ef8f6b4dbe9f.tar.gz tk-18176eb40df91e9dda2a84f975c7ef8f6b4dbe9f.tar.bz2 |
Adapted scrollbar.test to the improvements in scrlbar.tcl; reverted the changes in scrlbar.tcl and ttk/notebook.tcl made in [855b6c5a].
Diffstat (limited to 'tests')
-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 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 |