On Mon, 2005-08-01 at 16:25 -0500, Rob Benton wrote: > I'm confused about the showing and hiding of the dialog objects after > their run function completes. > > I'm opening a FileChooserDialog, calling run(), checking the response > type for OK, and finally doing a little xml processing with Xerces which > I check for exceptions. If I catch an exception I throw up a > Gtk::MessageDialog. > > But after Gtk::FileChooserDialog::run() completes that dialog is still > visibile and my Gtk::MessageDialog goes on top of that instead of my > main window. Is this expected behavior?
Yes: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Dialog.html#a16 "After Gtk::Dialog::run() returns, you are responsible for hiding or destroying the dialog if you wish to do so." -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list