On Sat, 2004-08-28 at 06:07, [EMAIL PROTECTED] wrote:
> On Tue, Aug 24, 2004 at 09:40:43PM +0200, [EMAIL PROTECTED] wrote:
> > On Mon, Aug 23, 2004 at 08:55:36AM -0400, Steve McClure wrote:
> > 
> > In fact, not really. I'd like that when the thread finishes, gtk close
> > properly (it should close all the opened windows), but i'd like the core
> > to continue running.
> > 
> > Thanks for help,
> > Asterix
> > _______________________________________________
> 
> I had no answer, so does it mean that it's not possible to run _and stop_
> gtk in a thread ?
> 
> Asterix

So this didn't work?
===
thr = GajimThread('gt')
thr.start()
while thr.isAlive()
    thr.join(timeout=0.1)
    time.sleep(2)
    print "core"
===

> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Steve McClure <[EMAIL PROTECTED]>

_______________________________________________
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