Hi, I want my aplication to stop the gtk_main() until the user press a button, which change the value of a variable called "state":
while(state == EXIT_WAIT) { ....**stop gtk_main**.... } if (state == EXIT_OK) { [...] } else { [...] } ------ In Motif I used: while (state == EXIT_WAIT) XtAppProcessEvent(GB_context, XtIMAll); if (state == EXIT_OK) { [...] } else { [...] } ----- Which is the GTK+ equivalent? Thanks, Ignacio Nodal _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list