setEnabled

open fun setEnabled(enable: Boolean)(source)

Disable or enable the window.