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

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()

[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)