summaryrefslogtreecommitdiffstats
path: root/library/ttk/scrollbar.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-21 15:43:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-21 15:43:20 (GMT)
commitbb6f9b25fe0c1c5356d50b10ec2e6bd2ad284f8b (patch)
tree5571e12d68e904245c8b6cd1319519c39c604310 /library/ttk/scrollbar.tcl
parentaa7b5aca7453deb72f795bcac257cb64ee9fe76e (diff)
parent4599696086a1c8e7cd453f1ffbce0f95dbfd283f (diff)
downloadtk-bb6f9b25fe0c1c5356d50b10ec2e6bd2ad284f8b.zip
tk-bb6f9b25fe0c1c5356d50b10ec2e6bd2ad284f8b.tar.gz
tk-bb6f9b25fe0c1c5356d50b10ec2e6bd2ad284f8b.tar.bz2
Merge 8.6
Diffstat (limited to 'library/ttk/scrollbar.tcl')
-rw-r--r--library/ttk/scrollbar.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/ttk/scrollbar.tcl b/library/ttk/scrollbar.tcl
index 7537491..fdba265 100644
--- a/library/ttk/scrollbar.tcl
+++ b/library/ttk/scrollbar.tcl
@@ -56,7 +56,7 @@ proc ttk::scrollbar::Press {w x y} {
set State(yPress) $y
switch -glob -- [$w identify $x $y] {
- *uparrow -
+ *uparrow -
*leftarrow {
ttk::Repeatedly Scroll $w -1 units
}
@@ -64,6 +64,7 @@ proc ttk::scrollbar::Press {w x y} {
*rightarrow {
ttk::Repeatedly Scroll $w 1 units
}
+ *grip -
*thumb {
set State(first) [lindex [$w get] 0]
}
@@ -109,6 +110,7 @@ proc ttk::scrollbar::Jump {w x y} {
variable State
switch -glob -- [$w identify $x $y] {
+ *grip -
*thumb -
*trough {
set State(first) [$w fraction $x $y]