On Mo, 2003-11-17 at 14:34, Christian Robottom Reis wrote:
> On Mon, Nov 17, 2003 at 09:30:44AM +0100, Igor Stroh wrote:
> > ====================
> > top = gtk.Window()
> > while gtk.events_pending():
> >       gtk.main_iteration(block=gtk.FALSE)
> > do_something()
> > top.show_all()
> > top.mainloop()
> > ====================
> 
> Look into the gtk.timeout_add() function, it does exactly what you want.
> There's a FAQ entry on it.

Great! Works like a charm :)

Muchos gracias,
Igor
_______________________________________________
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