Antoine Martin wrote:
> I don't know of any examples unfortunately and I must admit that I spent
> quite a bit of time getting to grips with it, but in the end it is
> remarkably simple (much more simple than I first thought too - so don't
> let that put you off):
> import gtk.gdk
> gtk.gdk.threads_init()

This is not a good idea under Windows, sometimes it'll freeze here,
other times... later.

> if you need to interact with the GUI from that thread, do it via 
> gobject.idle_add()

See, at this point I don't understand why Twisted gives me an
advantage. I'm still using threads, I'm still using the problematic
"idle_add"... what's different?

- Jason
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to