setButtonEnabled

fun setButtonEnabled(buttonId: Int, enabled: Boolean): Gui

Sets the enabled state of a button

Return

the Gui for method chaining

Parameters

buttonId

the id of the button to set

enabled

the enabled state of the button

Sources

Link copied to clipboard