gnome MDI doesn't have the delete_event!!!



Hi all,

The problem I have is that when you hit the window manager close button,
the
gnome MDI removes the child/childs (depending on MDI mode) and then
terminates.

The user usually hits the QUIT button, or uses file->quit, but if the 
window manager button is used, no function is called, well remove_child
is called, but I have no way to know if the app is being sutthed down,
also
it is not the best place to store preferences.

What I mean is that there's no "delete_event" to catch and decide what
to do:
close the child or shut down the entire app.

I will do it from the remove_child, but I will appreciate any advice on
this.

Thanks in advance.

Manuel Clos.



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