[gtkmm] Noticing on window's close



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)

and it don't seem to be called on window close.

I have a toplevel window, and I must notice when other Gtk::Window are closed.

How should I do this now with gtkmm2??

Thanks.

--
Manuel Clos
llanero eresmas net

TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html




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