On Mon, 2008-01-07 at 10:37 -0200, Rodolfo Lima wrote: > Hi, I wonder if there's a way to set up a user-defined function to be > called in every loop iteration. For what I saw in glib/gtk+ code, there > isn't a way to do that, but then I may be wrong. > > This would be used in wxWidgets' GTK port, where its Windows counterpart > enables us to manually run the main event loop, customizing it for doing > other processing duties.
See g_idle_* and g_timeout_* and all the rest of the main loops functions: http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html Cheers _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list