setEnabled

fun setEnabled(enabled: Boolean)

Sets whether @self is enabled.

When it's not enabled, no events will be processed. Usually widgets will want to expose this via a property.

Parameters

enabled

whether @self is enabled