"scriptNames"
Gets all events that are available for a shape.
Synopsis
getValue( string shape, "scriptNames", dyn_string &results);
shape.events();
Parameters
Parameters | Description |
---|---|
results | List of all events that are available for the shape. |
Description
Returns the list of all available events of a shape.
Example
- Script
-
main(mapping event) { dyn_string objEvents = this.scriptNames(); DebugN(objEvents); }
- Output
-
WCCOAui1:[dyn_string 15 items WCCOAui1: 1: "SelectionChanged" WCCOAui1: 2: "MouseReleased" WCCOAui1: 3: "MousePressed" WCCOAui1: 4: "Clicked" WCCOAui1: 5: "Initialize" WCCOAui1: 6: "DragDrop" WCCOAui1: 7: "DragEnter" WCCOAui1: 8: "DragStart" WCCOAui1: 9: "LangChanged" WCCOAui1: 10: "MouseOver" WCCOAui1: 11: "KeyboardFocusOut" WCCOAui1: 12: "KeyboardFocusIn" WCCOAui1: 13: "DoubleClicked" WCCOAui1: 14: "RightMousePressed" WCCOAui1: 15: "Acknowledge" WCCOAui1:]
Assignment
All widgets