SlaveEvent

From IfsoGUIWiki

Jump to: navigation, search

Internal Method - Should only be called by the GUI and or a gadget.

Contents

Declaration

SlaveEvent(gadget:ifsoGUI_Base, id:Int, data:Int, iMouseX:Int, iMouseY:Int)
Called from a slave gadget. Slave gadgets send their events to their master, rather than emitting them to the event queue. The master then decides how to handle the events, whether to emit them to the queue or act on them itself.

Returns

Nothing

Parameters

  • gadget:ifsoGUI_Base - The gadget that emitted the event.
  • id:Int - The id of the event (see Events).
  • data:Int - The data with the event.
  • iMouseX:Int - Mouse X position.
  • iMouseY:Int - Mouse Y position.

Gadget Information

Internal Method - Should only be called by the GUI and or a gadget.

Example

Personal tools