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

Accessor of the destroy-with-parent slot of the gtk-window class.

The gtk-window-destroy-with-parent slot access function returns whether the window will be destroyed with its transient parent. The (setf gtk-window-destroy-with-parent) slot access function sets whether to destroy the window 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

2021-9-9