setDestroyWithParent

open fun setDestroyWithParent(setting: Boolean)

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 are associated with, for example.

Parameters

setting

whether to destroy @window with its transient parent