setHideOnClose

open fun setHideOnClose(setting: Boolean)

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

Parameters

setting

whether to hide the window when it is closed