TypeScript API Documentation for GTK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Checks if any events are pending.
This can be used to update the UI and invoke timeouts etc. while doing some time intensive computation.
// computation going on... while (gtk_events_pending ()) gtk_main_iteration (); // ...computation continued Copy
// computation going on... while (gtk_events_pending ()) gtk_main_iteration (); // ...computation continued
true if any events are pending, false otherwise
true
false
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