ui.Button.setDisabled

Stay organized with collections Save and categorize content based on your preferences.

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.