Re: Clarification about gtk_main() and running simultaneous non-gtk functions

2005-06-06 Thread Paul Pogonyshev
Michal Porzuczek wrote: > Correct me if I'm wrong but the gtk_main() acts like an infinite while > loop that waits for callbacks to the widgets that have been created > before gtk_main() was called. It is true to some extent. It is an infinite, but terminatable loop that waits for events (most no

Re: Clarification about gtk_main() and running simultaneous non-gtk functions

2005-06-06 Thread Tristan Van Berkom
Michal Porzuczek wrote: Correct me if I'm wrong but the gtk_main() acts like an infinite while loop that waits for callbacks to the widgets that have been created before gtk_main() was called. gtk_main will run a GMainLoop: http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.ht

Clarification about gtk_main() and running simultaneous non-gtk functions

2005-06-06 Thread Michal Porzuczek
Correct me if I'm wrong but the gtk_main() acts like an infinite while loop that waits for callbacks to the widgets that have been created before gtk_main() was called. My question is, except for the g_timer function which seems to just be for measuring proccesses inside actual callbacks, is it po