[pygtk] Threaded PYgtk apps and gtk.main_quit()
Fredrik Corneliusson
fredrik.corneliusson at gmail.com
Fri Feb 23 22:09:35 WST 2007
Hi,
If you are targeting win32 I would suggest using
"gobject.idle_add(...)" instead if you want to update GTK UI from sub
threads.
See these FAQ entries for more info:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.001.htp
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.003.htp
Regards,
Fredrik
On 2/23/07, Rob Brown-Bayliss <uncertain.genius at gmail.com> wrote:
> On 2/23/07, David Johansson <david.lgj at gmail.com> wrote:
> > Hi,
> >
> > I think you need to stop all threads that you started, take a look at
> > http://aruiz.typepad.com/siliconisland/2006/04/threads_on_pygt.html
>
>
> Thanks, I am just reding the page from the link yoiu provided, adn
> while I hav e not yet tried it already I know more about python
> threading than I did a few minutes ago. I was using a run methond
> that just had "Pass" and thinking th thread was still doing it's
> thing...
>
> Thanks, I will let you know how I get on, but it's getting late in my
> time zone...
>
> Cheers
>
>
> --
> Rob
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
More information about the pygtk
mailing list