This is the mail archive of the
cygwin
mailing list for the Cygwin project.
tcl /tk on cygwin + mouse wheel event
- From: Mathieu Malaterre <mmalater at nycap dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 06 Feb 2004 18:26:06 -0500
- Subject: tcl /tk on cygwin + mouse wheel event
Hello,
I am having some issues with mouse wheel on a cygwin system. Could any
one comment on this ?
None of these scripts work:
wish
#---- tcl program starts here
% proc foo { args } { puts "foo" }
% bind . "<MouseWheel>" foo
#----
python
#---- python program starts here
def foo(event): print "foo"
import Tkinter
win = Tkinter.Tk()
win.bind("<MouseWheel>", foo)
win.mainloop()
#----
Is there something I should know to use catch a mouse wheel event in tk
on a cygwin system. I also tried the 'unix' fashion that is say binding
the Button-4 and Button-5 but still I get no result at all.
Comments/suggestions really welcome.
Thanks a bunch,
Mathieu
Ps: by the way if you think this is more of a tcl/tk problem just let me
know.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/