Re: tcl /tk on cygwin + mouse wheel event

2004-02-08 Thread Mathieu Malaterre
Alejandro, [Please CC as I am not on the cygwin ML, thank you] I am not sure I understand your explanation about python seg faulting. I did read the file: /usr/share/doc/usr/share/doc/Cygwin/python-2.3.3.README on why you But this is still not clear to me, why a wheel event is so complicated

Re: tcl /tk on cygwin + mouse wheel event

2004-02-08 Thread Alejandro Lopez-Valencia
On Sat, 07 Feb 2004 15:25:24 -0500, Mathieu Malaterre wrote in <[EMAIL PROTECTED]>: >Alejandro, > Your suggestion did get me a little further :) Now the python script >output 'foo' but I still get a seg fault (*). On the other hand the tcl >script didn't change, I still don't get anything.

tcl /tk on cygwin + mouse wheel event

2004-02-08 Thread Mathieu Malaterre
Alejandro, I try something else: # tcl program starts here % proc foo { args } { puts "foo" } % bind . "" foo # This gives me an Error: unknown option "-state". Here is the log file unknown option "-state" unknown option "-state" while executing "$w cget -state" (procedure "tk::

Re: tcl /tk on cygwin + mouse wheel event

2004-02-07 Thread Mathieu Malaterre
Alejandro, A few more questions. I browse through the python/lib-tk directory and i found that: ... if sys.plateform == "win32": ... But on a cygwin system sys.plateform return "cygwin". Is this a mistake ? what does sys.plateform return on your system ? BTW what does tcl_platform(platform) r

Re: tcl /tk on cygwin + mouse wheel event

2004-02-07 Thread Mathieu Malaterre
Alejandro, [Please CC as I am not on the list] Your suggestion did get me a little further :) Now the python script output 'foo' but I still get a seg fault (*). On the other hand the tcl script didn't change, I still don't get anything. *But* if I start startxwin.sh and then start: $ wish

Re: tcl /tk on cygwin + mouse wheel event

2004-02-06 Thread Alejandro Lopez-Valencia
On Fri, 06 Feb 2004 18:26:06 -0500, Mathieu Malaterre wrote in <[EMAIL PROTECTED]>: >Hello, > I am having some issues with mouse wheel on a cygwin system. Could any >one comment on this ? > >None of these scripts work: They work fine in my system. See below. > >Comments/suggestions really

tcl /tk on cygwin + mouse wheel event

2004-02-06 Thread Mathieu Malaterre
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 . "" foo # python # python program starts here def foo(event): print "foo" import T