Package: gtk

Accessor gtk:window-destroy-with-parent

Lambda List

gtk:window-destroy-with-parent (object)

Syntax

(gtk:window-destroy-with-parent object) => setting
(setf (gtk:window-destroy-with-parent object) setting)

Arguments

object -- a gtk:window widget
setting -- a boolean whether to destroy the window with its transient parent

Details

The accessor for the destroy-with-parent slot of the gtk:window class gets or sets whether the window will be destroyed with its transient parent.

If the setting argument is true, then destroying the transient parent of the window will also destroy the window itself. This is useful for dialogs that should not persist beyond the lifetime of the main window they are associated with.
 

See also

2025-07-28