Each object has an application unique id and has a number of attributes.
The Object ID 0 is a special case defining the whole application. Within
this object will be the applications main top level windows. The following
functionality is provided:
Function |
Usage |
List GetObjects(ID id) |
Gets a list of the objects contained within the given object id. |
List GetObjectLine(ID id) |
Gets a list of the objects on the given line |
Text GetTextLine(ID id, int line) |
Gets a line of text from the objects data |
ObjInfo GetInfo(ID id) |
Gets generic info on the object. Includes: type, label, position, size
etc |
String GetParam(ID id, String paramName) |
Gets the value of a named parameter from the object |
Event EnableEvents(EventMask mask) |
Enable the given events to be generated |
Event |
Usage |
KeyboardFocus |
When the application changes the object to which keyboard entry is
directed, this event is generated. |
TextCursor |
When a text cursor is moved, or redrawn this event is generated |
WindowMapped |
When a window is displayed onto the screen, this event is generated |
WindowUnMapped |
When a window is withdrawn from the screen, this event is generated. |
TextChanged |
When the text displayed is changed, this event is generated. |
StructureChange |
When an objects children list has changed, this event is generated. |