Add something like this to see if it makes updates available during long result fetches. But do it in the db drivers without introducing a Gtk dependency. // computation going on ... while (gtk_events_pending ()) gtk_main_iteration (); ... // computation continued