Connect to Gtk::Widget::signal_delete_event instead of Gtk::Widget::signal_hide. You'll get the result you want.
Steven Greenslade wrote: > Hi all, > > I was wondering if it was possible to connect a signal, or override a > function, so that I can run some checks before the window is actually > hidden? > > I have a custom class that inherits from Gtk::Window, and connecting to > the signal_hide does exactly what I want, minus the fact it hides the > window before calling my function... > > Thanks in advance =] > > ~ Steve > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > Bob Caryl _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
