I'm working on a simulator, and had been trying to run the
simulation from idle callbacks. Each idle callback will run the
simulation for a while then return.
It just occurred to me to wonder, if things are idle, Should I expect my
idle callback function be executed repeatedly? Or does each installed
idle callback function only get called once per "idle period"?
Jeroen Benckhuijsen <[EMAIL PROTECTED]> wrote:
> See: http://www.gtk.org/faq/#AEN561
Which describes using a statement like
while (g_main_iteration(FALSE));
in the midst of functions that do length calculations.
Am I better off using this method rather than idle callbacks?
What is the difference between that, and:
while (gtk_events_pending())
gtk_main_iteration();
which is recommended in Pennington's book _GTK+/Gnome Application Develoment_?
Thanks!
Eric
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list