Op 30-11-11 12:36, Hugo Teso schreef:
Hi list!
I have a problem with PyGtk over Windows while trying to capture double
click. The code I use is:
event.type == gtk.gdk._2BUTTON_PRESS
This works fine on Linux, but not on Windows :(
If I print "event.type" to see it's value, it is always:
<enum GDK_BUTTON_PRESS of type GdkEventType>
No matter if I double click or not... or if I do it faster :)
Any idea on how to fix this to get double click working on Windows?
Can you post your GTK and PyGTK version, maybe Windows version and even
a small (as possible) test application?
Cheers,
Timo
Thanks!
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/