> Could you explain more on this ? Is calling g_idle_add() from > "NON-GUI" thread important ? No, you can call it from any thread. > I think no matter which thread invoke g_idle_add(), > the idle callback will be associated with default main loop, am I correct ? Yes. > Did you put a g_usleep() in your idle callback ? If not, how did you avoid > the idle callback to take all of the CPU loading ? Have the idle callback function return FALSE... Schedule it again with g_idle_add() whenever you have something new that needs to be done in the GUI thread. --tml _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list