Update to tk 8.5.19
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# Standard Motif bindings:
|
||||
if {[tk windowingsystem] eq "x11"} {
|
||||
if {[tk windowingsystem] eq "x11" || [tk windowingsystem] eq "aqua"} {
|
||||
|
||||
bind Scrollbar <Enter> {
|
||||
if {$tk_strictMotif} {
|
||||
@@ -141,6 +141,13 @@ if {[tk windowingsystem] eq "aqua"} {
|
||||
bind Scrollbar <Shift-Option-MouseWheel> {
|
||||
tk::ScrollByUnits %W h [expr {-10 * (%D)}]
|
||||
}
|
||||
} else {
|
||||
bind Scrollbar <MouseWheel> {
|
||||
tk::ScrollByUnits %W v [expr {- (%D /120 ) * 4}]
|
||||
}
|
||||
bind Scrollbar <Shift-MouseWheel> {
|
||||
tk::ScrollByUnits %W h [expr {- (%D /120 ) * 4}]
|
||||
}
|
||||
}
|
||||
# tk::ScrollButtonDown --
|
||||
# This procedure is invoked when a button is pressed in a scrollbar.
|
||||
|
||||
Reference in New Issue
Block a user