Package imagizer :: Module signals :: Class Signal |
[hide private]
[frames] | no frames]

# Class Signal

source code

    object --+
             |
            Signal

class Signal.

A simple implementation of the Signal/Slot pattern. To use, simply create a Signal instance. The instance may be a member of a class, a global, or a local; it makes no difference what scope it resides within. Connect slots to the signal using the "connect()" method. The slot may be a member of a class or a simple function. If the slot is a member of a class, Signal will automatically detect when the method's class instance has been deleted and remove it from its list of connected slots.

Instance Methods | [hide private]
__init__(self) Init the Signal object. | source code
__call__(self, *args, **kwargs) | source code
emit(self, *args, **kwargs) | source code
connect(self, slot) | source code
disconnect(self, slot) | source code
disconnectAll(self) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
Init the Signal object. Overrides: object.__init__