set Listener
Deprecated
Use button's 'onClick' property instead.
Sets the listener for handling GUI events.
Return
The current InventoryGUI instance for chaining.
Parameters
listener
The GUIListener instance to handle events.
Use button's 'onClick' property instead.
Sets the listener for handling GUI events.
The current InventoryGUI instance for chaining.
The GUIListener instance to handle events.