Re: [gtkmm] Noticing on window's close



On Sat, 2002-09-14 at 19:10, Manuel Clos wrote:
> Hi all,
> 
> The PORTING document says:
> 
> You do not need to connect to Gtk::Window's "delete_event" signal just to
>   26   prevent self-destruction of the window, or to quit the application
>   27   appropriately. In most cases you should just use the new
>   28   Gtk::Main::run(window) override that shows the window and quits 
> when it
>   29   is hidden.
> 
> do these mean the delete_event is gone? I have tried both
> 
> delete_event_impl(GdkEventAny* e)
> on_delete_event_impl(GdkEventAny* e)

That should be on_delete_event(), in gtkmm2. That should be in the
PORTING document too. But you probably want to react to the hide signal
anyway.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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