Martin Pool's blog

gtk_widget_hide_on_delete

To make a GNOME modeless dialog just hide when its frame Close button is clicked, connect delete_event to gtk_widget_hide_on_delete. The default is to destroy the widget, which can be inconvenient if, for example, it was constructed by Glade and you don't want to rebuild it when the user wants to see it again.

Archives 2008: Apr Feb 2007: Jul May Feb Jan 2006: Dec Nov Oct Sep Aug Jul Jun Jan 2005: Sep Aug Jul Jun May Apr Mar Feb Jan 2004: Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan 2003: Dec Nov Oct Sep Aug Jul Jun May