Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/24/07, Jarek Zgoda <[EMAIL PROTECTED]> wrote: Anyway, many times I saw this as a recommended resolution to "update GUI from thread" problem. If your thread does not need to update UI, then it has nothing to to with PyGTK. ;) That is true, it isnt a pygtk issue ;-) -- Rob ___

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Jarek Zgoda
Rob Brown-Bayliss napisaƂ(a): >> 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: > > The thread does not update the gui, it sits in the background waking > up from t ime t

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/24/07, Fredrik Corneliusson <[EMAIL PROTECTED]> wrote: 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: The thread does not update the gui, it sits in the background waki

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Fredrik Corneliusson
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=

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-23 Thread Rob Brown-Bayliss
On 2/23/07, David Johansson <[EMAIL PROTECTED]> 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 i

Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-22 Thread David Johansson
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 /david 2007/2/21, Rob Brown-Bayliss <[EMAIL PROTECTED]>: I have an application, that has a couple of threads and also runs a few external processes, wh

[pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-20 Thread Rob Brown-Bayliss
I have an application, that has a couple of threads and also runs a few external processes, when I call gtk.main_quit() the ui shuts down, but actuall app remains in the process list. Does any one know how I can prevent this? Thanks -- Rob ___ pygtk