tis 2004-05-11 klockan 16.07 skrev Dave Richards:
> Hello,
> 
> How do you register calls to be made after gtk.mainloop() is called?
> Like wxCallAfter in wxWidgets.

do a gtk.idle_add(function) before calling gtk.main()

If you want to have a timeout (eg, wait n ms before calling the
function), use gtk.timeout_add

-- 
Johan Dahlin <[EMAIL PROTECTED]>

_______________________________________________
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