Widget.hideOnDelete

bool hideOnDelete()

Utility function; intended to be connected to the #GtkWidget::delete-event signal on a #GtkWindow. The function calls [gtk.widget.Widget.hide] on its argument, then returns true. If connected to ::delete-event, the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when ::delete-event is received.

Returns

true