tomwer.core.signal.Signal#

class tomwer.core.signal.Signal(*arg_types)#

The Signal is the core object that handles connection and emission .

block(isBlocked)#

Sets blocking of the signal

clear()#

Clears the signal of all connected slots

connect(slot)#

Connects the signal to any callable object

disconnect(slot)#

Disconnects the slot from the signal

emit(*args, **kwargs)#

Calls all the connected slots with the provided args and kwargs unless block is activated