Function

Gtk-3.0Gtkevents_pending

  • 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

    Returns boolean

    true if any events are pending, false otherwise