On Thu, 2006-06-22 at 14:24 +1000, John McMonagle wrote:
> I tried binding mouse wheel events (, ) to a Tkinter
> Canvas widget with the hope of using the event.delta value to
> subsequently scroll the Canvas.
>
> However, it seems that event.delta always returns 0.
>
> For example,
>
> from Tki
I tried binding mouse wheel events (, ) to a Tkinter
Canvas widget with the hope of using the event.delta value to
subsequently scroll the Canvas.
However, it seems that event.delta always returns 0.
For example,
from Tkinter import *
r = Tk()
c = Canvas(r, scrollregion=(0,0,500,500), height=20