[Tkinter-discuss] Python 3.2 and binding Mousewheel on Mac

Kevin Walzer kw at codebykevin.com
Sun Apr 22 14:12:07 CEST 2012


> But I've looked into it and it does appear to be a bug in the Cocoa
> Tcl/Tk 8.5.x implementation as suspected.  See the updates to Issue10731
> for details.  I've opened Tk Toolkit bug 3520202 to report the problem.
> If someone takes an interest in it there, a fix could appear in a future
> release of the ActiveState Tcl/Tk 8.5 for OS X.
>
> https://sourceforge.net/tracker/?func=detail&aid=3520202&group_id=12997&a
> tid=112997
>

Hi Neil,

I've been following this thread and have taken a look at the bug report 
you entered. However, I can't reproduce the issue in Python 2.7 (I don't 
have 3.x on my system) nor can I reproduce it when run directly from Tk. 
The equivalent Tk code:

pack [text .t]
bind all <MouseWheel> {puts "Mouse wheel event"}

produces a string of "Mouse wheel events" statements to standard output, 
even when using two-fingered scrolling on the trackpad.

Given that the Tk-Cocoa 8.5 code behaves as expected when run directly 
from Tcl/Tk I'm not clear on what bug I'm supposed to be fixing here. If 
the bug exists solely on the Tkinter side, then that needs to be 
addressed by the Tkinter developers.

If I'm missing something, please clarify, but otherwise I am going to 
close the bug report as "works for me."

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list