gtkWidgetHideOnDelete {RGtk2} | R Documentation

## gtkWidgetHideOnDelete

### Description

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

### Usage

    gtkWidgetHideOnDelete(object)

### Arguments

``object`` | a `GtkWidget`

### Value

[logical] `TRUE`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]