So there's no need to worry anymore? Widgets can be accessed from any thread? Very cool. Is there backwards compat with 0.6.8 though? 0.6.8 is so widespread that I wouldn't remove support from my app, and the thread calls for a while though. Removing the threading calls would make the code a lot prettier though.
-- Mike On Wed, Jan 09 @ 13:01, James Henstridge wrote: > The stable branch of pygtk already does threading in a similar fashion > to what has been described earlier in this thread. The main difference > is that threading is turned on by default when pygtk is imported (this > is due to the way gtk initialises). If you have pygtk-0.6.9, then you > can disable threading by calling gtk._disable_gdk_threading(). > > Threading with gtk 1.2 is simplified a great deal due to the fact that > everything occurs while the GDK lock is held, which makes > synchronisation a lot easier. With glib-1.3.x, the object system has > been moved down below GDK, so some operations can occur while the lock > isn't held. I think this will probably be the cause of some of the > remaining bugs. -- Michael Gilfix [EMAIL PROTECTED]
msg03429/pgp00000.pgp
Description: PGP signature