[pygtk] mainloop vs mainiterator

2001-10-12 Thread Pier Carteri
Hi to all, I've created a small class that show a splash screen with an image and a progressbar. At the end of my module I've add some lines for test the class: if __name__==__main__: sp=Splash_screen(splash_screen.png,1) sp.show() sp.bar_update(carico, 0.1) time.sleep(4)

Re: [pygtk] mainloop vs mainiteration

2001-10-12 Thread Pier Carteri
I'm sorry, I've mispelled: the method is not mainiterator but mainiteration; the question is the same: mainiteration vs mainloop On 12 Oct 2001 10:36:19 +0200, Pier Carteri wrote: Hi to all, I've created a small class that show a splash screen with an image and a progressbar. At the end of

Re: [pygtk] mainloop vs mainiterator

2001-10-12 Thread James Henstridge
On 12 Oct 2001, Pier Carteri wrote: Hi to all, I've created a small class that show a splash screen with an image and a progressbar. At the end of my module I've add some lines for test the class: if __name__==__main__: sp=Splash_screen(splash_screen.png,1) sp.show()

Re: [pygtk] mainloop vs mainiterator

2001-10-12 Thread Christian Robottom Reis
On Fri, 12 Oct 2001, James Henstridge wrote: sp.bar_update(carico, 0.9) time.sleep(0.1) gtk.mainloop() Heh. Funny that I should be trying a similar thing. My situation is a bit different: I've got the mainloop running already, and in a loop of functions I need to update the

Re: [pygtk] - Callback problem]

2001-10-12 Thread Juergen Daubert
Hi Brice, On Thu, 11 Oct 2001 21:57:21 +0200 Brice VISSIERE [EMAIL PROTECTED] wrote: def my_nice_and_very_useful_callback(): ... return TRUE This should help. Greetings Jürgen -- [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL