Developer Interface¶
Signal¶
-
class
signaling.
Signal
(args=None, name=None)¶ -
connect
(slot)¶ Connect
slot
to this singal.Parameters: slot (callable) – Callable object wich accepts keyword arguments. Raises: InvalidSlot
– Ifslot
doesn’t accept keyword arguments.
-
disconnect
(slot)¶ Disconnect
slot
from this signal.
-
emit
(**kwargs)¶ Emit signal by calling all connected slots.
The arguments supplied have to match the signal definition.
Parameters: kwargs – Keyword arguments to be passed to connected slots. Raises: InvalidEmit
– If arguments don’t match signal specification.
-
is_connected
(slot)¶ Check if a slot is conncted to this signal.
-