Signalobject | signals.t[29] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
For a signal to be sent from a sender to a receiver, a relationship first needs to be set up between them with a statement like:
connect(sender, signal, receiver);
Where signal is either the programmatic name or the string name of the signal we want sent.
To break the link subsequently we can use:
unconnect(sender, signal, receiver);
[SIGNALS EXTENSION]
Signal : Relation
Signal
Relation
PreinitObject
ModuleExecObject
object
dispatchTab
propList
relationType
Inherited from Relation
:
name
reciprocal
relTab
reverseName
Inherited from PreinitObject
:
execBeforeMe
reverseGlobalSymbols
Inherited from ModuleExecObject
:
execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
Inherited from Relation
:
addRelation
inverselyRelatedTo
isInverselyRelated
isRelated
listKeys
makeUnique
relatedTo
removeRelation
Inherited from ModuleExecObject
:
_execute
classExec
execute
dispatchTab | signals.t[99] |
[SIGNALS EXTENSION]
propList | signals.t[89] |
relationType OVERRIDDEN | signals.t[31] |
addHandler (sender, receiver, handler) | signals.t[101] |
emit (sender, [args]) | signals.t[46] |
If additional args are supplied, they can take one of two forms. Either values, which are then assigned in turn to the properties listed in our propList property, or two-element lists of the form [prop, val] where prop is a property pointer and val is the value to be assigned to this property. Note that these two forms cannot be mixed in the same call to this method, unless all the list form arguments come at the end.
[SIGNALS EXTENSION]
removeHandler (sender, receiver) | signals.t[109] |