Window.setHideOnClose

If @setting is %TRUE, then clicking the close button on the window will not destroy it, but only hide it.

class Window
void
setHideOnClose
(
bool setting
)

Parameters

setting bool

whether to hide the window when it is closed

Meta