Hi > The signal handler for a button in my main window launches a file > chooser dialog, then processes the selected files. > I try to hide the dialog during processing with 'gtk_widget_hide > (dialog);' but this does not take effect until the signal handler exits. > Is there a way to hide the dialog immediately to show the progress bar > in the underlying window?
IMHO the easiest way is a g_timeout_add(0,..), which does the processing in the main loop. And return FALSE in your GSourceFunc, so the timeout is just run once. HTH Jan-Marek _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list