button
Registers a custom button in the GUI.
Parameters
The slot in the GUI where the button will be placed.
The item to display on the button.
The event scope to trigger the button's action.
Additional metadata associated with the button.
The delay before the button's action is triggered.
The debounce time to prevent multiple clicks in quick succession.
The throttle time to limit button action triggers.
The action to be performed when the button is clicked.
Registers a button in the GUI using the ButtonBuilder DSL.
Parameters
The slot in the GUI where the button will be placed.
The builder function to configure the button's properties.
Registers a button in the GUI from a predefined ButtonBuilder template.
Parameters
The slot in the GUI where the button will be placed.
The predefined template for the button.
Registers a button in the GUI by overriding properties of an existing ButtonBuilder template.
Parameters
The slot in the GUI where the button will be placed.
The predefined template for the button.
The function to override specific properties of the button.