ui.Button.setDisabled

Sets whether the button is disabled.

Returns this button.

UsageReturns
Button.setDisabled(disabled)ui.Button
ArgumentTypeDetails
this: ui.buttonui.ButtonThe ui.Button instance.
disabledBooleanWhether the button is disabled.