setEnabled

open external fun setEnabled(enable: Boolean)(source)

Disable or enable the window.