while (Gtk2->events_pending()) {Gtk2->main_iteration();}