Re: Run checks before Gtk::Window hide() is called



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
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
>   

Bob Caryl



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]