Checks if any events are pending.
This can be used to update the UI and invoke timeouts etc. while doing some time intensive computation.
|[<!-- language="C" --> // computation going on...
while (gtk_events_pending ()) gtk_main_iteration ();
// ...computation continued ]|
%TRUE if any events are pending, %FALSE otherwise
See Implementation
Checks if any events are pending.
This can be used to update the UI and invoke timeouts etc. while doing some time intensive computation.
Updating the UI during a long computation
|[<!-- language="C" --> // computation going on...
while (gtk_events_pending ()) gtk_main_iteration ();
// ...computation continued ]|