[Gtk-sharp-list] Hiding Gtk.Window instead of Destroying?

Thomas Zühlke muell_muell_ at gmx.net
Wed Mar 1 05:39:35 EST 2006


I have a main-window and that creates a second window I work with. I can 
show/hide the second window with a button on the main window. If the 
button is pressed, the second window will be set do "visible = false;" 
and everything works fine.

Now I want to hide the second window instead of closing it if the 
close-button (the X in the top-right corner) is pressed. Is this possible?
Should I define the DeleteEvent? But what should be done in this event?

Thx Thomas

More information about the Gtk-sharp-list mailing list