Provides global signal dispatching services.
connect |
Connect receiver to sender for signal. |
disconnect |
Disconnect receiver from sender for signal. |
safeRef |
Return a safe weak reference to a callable object. |
send |
Send signal from sender to all connected receivers. |
BoundMethodWeakref |
BoundMethodWeakref class. |
DispatcherError |
|
Parameter |
Used to represent default parameter values. |
connect
(receiver, signal=Any, sender=Any, weak=True)¶Connect receiver to sender for signal.
disconnect
(receiver, signal=Any, sender=Any, weak=True)¶Disconnect receiver from sender for signal.
Disconnecting is not required. The use of disconnect is the same as for connect, only in reverse. Think of it as undoing a previous connection.
safeRef
(object)¶Return a safe weak reference to a callable object.
send
(signal, sender=Anonymous, **kwds)¶Send signal from sender to all connected receivers.
Return a list of tuple pairs [(receiver, response), ... ]. If sender is not specified, signal is sent anonymously.