Sorry for my rather late answer.

On Tue, Mar 27, 2007 at 08:02:31PM -0300, Gabriel Falcão wrote:
> Hello friends!
> 
> Everytime a check any program that use gtk threading i see the use of
> gobject threads init, locks, though threading.Thread before the gtk.main()
> 
> But my doubt is: "Why i never see the inverse?"
> 
> Why not put the gtk.main() inside a threading.Thread e do anything before
> this?
> I just want to know what are the problems when using it.

I don't think there are problems with it. I have one program where
gtk.main is started in a thread and it works without a problem.

It is a rather peculiar program though since it is a kind of
test suite for other GTK programs. It was the only time I
thought it usefull to have GTK started from a thread though.

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

Reply via email to