Register

From IfsoGUIWiki

Jump to: navigation, search

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

Contents

Declaration

Register(SystemEvent(id:Int, data:Int))
Registers an event handler for GUI wide Events. Each gadget type should pass a function to the GUI via the Register function, so it can be informed when to load new themes and other System Events. System Events are explained further on the Events page.

Returns

Nothing

Parameters

  • SystemEvent:
    • id:Int - id of the Event.
    • data:Int - Data of the event.

Gadget Information


Pertains to GUI.
Internal Function - Should only be called by the GUI and or a gadget.

Example

Personal tools