GuiInterface.setGridMouseFocusCallback
Sets a callback to be called when a grid widget gets mouse focus
Kind: Function
Environments: Game
Game
guiInterface:setGridMouseFocusCallback( buttonName, callback )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
buttonName |
string | The button name |
callback |
string | Function to be called when button is pressed |