setClosable

fun setClosable(closable: Boolean)(source)

Sets whether the window can be manually closed by user. On Linux does nothing.