Package _Framework :: Module InputControlElement :: Class InputSignal
[hide private]
[frames] | no frames]

Class InputSignal

source code

   object --+    
            |    
Signal.Signal --+
                |
               InputSignal

Special signal type that makes sure that interaction with input works properly. Special input control elements that define value-dependent properties should use this kind of signal.

Instance Methods [hide private]
 
__init__(self, sender=None, *a, **k)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_listeners_update(self) source code
 
connect(self, *a, **k)
Connects the signal to the slot.
source code
 
disconnect(self, *a, **k) source code
 
disconnect_all(self, *a, **k) source code

Inherited from Signal.Signal: __call__, is_connected

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from Signal.Signal: count

Inherited from object: __class__

Method Details [hide private]

__init__(self, sender=None, *a, **k)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_listeners_update(self)

source code 
Decorators:
  • @contextlib.contextmanager

connect(self, *a, **k)

source code 

Connects the signal to the slot. Does nothing if the slot is already connected. Returns the wrapper object that is used as a slot.

If 'in_front' is True, the slot will be put first, meaning it will be called before previously registered slots (by default it is put last).

If 'sender' is not None, it will be passed as last ordinal parameter to the slot when the signal is dispatched.

Overrides: Signal.Signal.connect
(inherited documentation)

disconnect(self, *a, **k)

source code 
Overrides: Signal.Signal.disconnect

disconnect_all(self, *a, **k)

source code 
Overrides: Signal.Signal.disconnect_all