Question about g_main_context_iteration



From http://www.gtk.org/api/2.6/glib/glib-The-Main-Event-Loop.html#g-main-context-iteration,
It said g_main_context_iteration Runs a single iteration for the given
main loop.

Does it mean I have to run 'gtk_main' or ' g_main_loop_new(). ' in my
program FIRST?

Thank you.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]