On 1/30/07, Cyril Giraudon <[EMAIL PROTECTED]> wrote:
Hi,
I try to run a pygtk application in multi threaded context.
The application was originally written for one process.
I'd like the application knows its execution context.
Is there a way to check whether gtk.gdk.threads_init has been executed ?
Thanks a lot,
Cyril.
Why don't you call the function in the main thread? It should be one
of the functions you should call before anything, I believe. Once the
function has been called you don't need to worry about it again.
Cheers
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/