pub fn events_pending() -> bool
// computation going on…
while (gtk_events_pending ()) gtk_main_iteration ();
// …computation continued ]|
true if any events are pending, false otherwise
true
false