Gtk.Widget.HideOnDelete Method
Utility method; intended to be connected to the Widget.DeleteEvent event on a Gtk.Window.

Syntax

public bool HideOnDelete ()

Returns

Returns true.

Remarks

The method calls Widget.Hide on its argument, then returns true. If connected to Widget.DeleteEvent, 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 Widget.DeleteEvent is received.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)