notify
Trigger an event on a handle object.
Syntax
Section titled “Syntax”notify(Hsource, EventName)notify(Hsource, EventName, eventdata)Description
Section titled “Description”Fires the named event on Hsource, calling all listeners attached via addlistener. The optional eventdata is passed to each listener as its second argument.
Example
Section titled “Example”notify(obj, 'StateChanged')See also
Section titled “See also”addlistener— Subscribe a callback to an event of a handle object.events— List the events declared by a class.