I seriously recommend NOT having your plugin do anything related to GTK. Don't even let it import the gtk stuff. Just have it call "mainapp.gui.method()" to do any of the gui work it needs done. That way you'll be able to have your main thread do all the gui stuff. Otherwise, you'll be in a world of hurt.
-dave
the main thread have nothing to do with gtk.
My application is a jabber client. the main thread deals with the connexion and the plugin is the GUI so only the plugin use gtk
and what i want is to close this plugin (and gtk) without closing the main thread
Asterix
signature.asc
Description: OpenPGP digital signature
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
