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.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
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