Hi Christian, sorry I mail you a private message, I didn't see the
message was to you...
The best choice for me is the idle_add(...) function. I will make a
checklist, a couple of tests will be make and each interaction I want
to do another thing...
I do something simple:
...
self.iteraction=0
gtk.idle_add(make_test)
...
def make_test(self):
ret=test(self.iteraction)
self.iteraction+=1
return ret
...
def test(self, iteraction):
list=(self.test1, self.test2, self.test3, self.test4)
try:
self.model.append(row=lista[n]())
except:
return 0
return 1
...
The model is a gtk.ListStore widget and each function in the list
return a tuple formated to this model...
The problem is that in the 3rd test I need to open a popup window
calling some user interaction (inserting a floppy)... The popup opens
but the idle_add stills running (I want the idle_add stops when the
popup opens and start when the popup closes...
I have some ideas I will try to implement, but if someone have
another
suggestion :)
Thanks for all help Chistian!
=====
--
Michel Thadeu Sabchuk
Curitiba/PR
______________________________________________________________________
Yahoo! GeoCities: a maneira mais f�cil de criar seu web site gr�tis!
http://br.geocities.yahoo.com/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/