Thanks this helps a lot.
Your code for keypress looks like you call internal Tcl/Tk commands ?
Seems like my for mousewheel.
But <MouseWheel> dont generate any signal i must use Button-4 and
Button-5 on linux.
def mousewheel_cb(event):
direction = 1 if event.num == 5 else -1
for win in self.textwindows:
win.yview('scroll', direction, 'units')
this working nice.
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss