| |
- callback(trap, id, param)
- Used by the system and systems other modules for communication
Where trap can be:
TRAP_SYSTEM: is called by system
- create()
- First thing called
- destroy()
- Last thing called
- gui(position=[], visiable=None)
- This is function is called when the module is started and shut down.
It returns and sets gui specific information.
This is to remember where the gui is at on reload. Returns a dictionary
{position:[x,y], visiable:True/False}
Is called before tests.
- tests()
- Used to run internal tests checking the module
Raises module.ModuleException
|