Gtk.Window.prototype.set_destroy_with_parent
function set_destroy_with_parent(setting:Boolean):void { // Gjs wrapper for gtk_window_set_destroy_with_parent() }
If setting is true, then destroying the transient parent of window will also destroy window itself. This is useful for dialogs that shouldn't persist beyond the lifetime of the main window they're associated with, for example.
- setting
whether to destroy window with its transient parent