View Single Post
Posts: 15 | Thanked: 10 times | Joined on Apr 2010
#11
Originally Posted by zgold550 View Post
Quick note: When you use GTK or Cairo from python you are not actually using them "in python". You are calling their C code from python. So the gtk/cairo operations themselves (with the exception of a small amount of binding overhead) are about the same speed as if your app was in C. The python code you write though will run at python speed, which is rather slow
Ah, sounds nice. Can anyone say if it's possible to make the cairo example more responsive? When I click somewhere on the screen it can take up to a second for it to redraw the triangle. Does it have to do with thread blocking or something?