Package: gtk

Function gtk:widget-hide-on-delete

Lambda List

gtk:widget-hide-on-delete (widget)

Arguments

widget -- a gtk:widget object

Return Value

True.

Details

Intended to be connected to the "delete-event" signal on a gtk:window widget. The function calls the gtk:widget-hide function on its argument, then returns true. If connected to the "delete-event" signal, the result is that clicking the Close button for a window will hide but not destroy the window. By default, GTK destroys windows when the "delete-event" signal is received.
 

See also

#2023-3-8