Method

GtkWidgethide_on_delete

Declaration [src]

gboolean
gtk_widget_hide_on_delete (
  GtkWidget* widget
)

Description [src]

Utility function; intended to be connected to the GtkWidget::delete-event signal on a GtkWindow. The function calls gtk_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.

Return value

Type: gboolean

TRUE.