Window.setDestroyWithParent

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.

class Window
void
setDestroyWithParent
(
bool setting
)

Parameters

setting bool

whether to destroy @window with its transient parent

Meta