SendEvent

From IfsoGUIWiki

Jump to: navigation, search

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

Contents

Declaration

SendEvent(id:Int, data:Int, iMouseX:Int, iMouseY:Int)
Sends an event from the gadget. Called when the gadget needs to emit an event. Mouse position is not always sent, if the event has nothing to do with the mouse position, some other data may be passed in those parameters.

Returns

Nothing

Parameters

  • id:Int - Event id (see Events).
  • data:Int - Data to send 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