| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <4024228E.4090007@nycap.rr.com> |
| Date: | Fri, 06 Feb 2004 18:26:06 -0500 |
| From: | Mathieu Malaterre <mmalater AT nycap DOT rr DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | tcl /tk on cygwin + mouse wheel event |
| X-Virus-Scanned: | Symantec AntiVirus Scan Engine |
| Note-from-DJ: | This may be spam |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |