Newbie: Tkinter Mouse Wheel Support

Moshe Zadka moshez at
Mon Mar 20 21:27:53 CET 2000

On Mon, 20 Mar 2000, Johnny Cass wrote:

> What do you have to do to enable mouse wheel support in your Tkinter
> Python programs? (e.g. bind wheel to scroll bar etc.). Is there some
> kind of binding that you need to code?

It would be nice to know the platform you're using. IIRC, mouse wheel on 
X-Windows is simply buttons 4 and 5 (for wheel up and wheel down), so you
better bind to those. For windows, you'll have to wait for some windows

Moshe Zadka <mzadka at>. -- we put the penguin in .com

More information about the Python-list mailing list