SetCallBack
From IfsoGUIWiki
Contents |
Declaration
SetCallBack(func(gadget:ifsoGUI_Base, id:Int, data:Int, iMouseX:Int, iMouseY:Int))
Sets the event callback function for the gadget.
Returns
Nothing
Parameters
- func(gadget:ifsoGUI_Base, id:Int, data:Int, iMouseX:Int, iMouseY:Int) - The function that will be called when an event is emitted.
- gadget:ifsoGUI_Base - The gadget that emit the event.
- id:Int - The id of the event.
- data:Int - The data value of the event.
- iMouseX:Int - The X position of the mouse when the event was fired.
- iMouseY:Int - The Y position of the mouse when the event was fired.
Gadget Information
Pertains to any event that emits events.
