Developer Interface¶
Signal¶
-
class
signaling.Signal(args=None, name=None)¶ -
connect(slot)¶ Connect
slotto this singal.Parameters: slot (callable) – Callable object wich accepts keyword arguments. Raises: InvalidSlot– Ifslotdoesn’t accept keyword arguments.
-
disconnect(slot)¶ Disconnect
slotfrom 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.
-