Home | Trees | Indices | Help |
|
---|
|
object --+ | ObserverBase
is a base class for observers.
Observers have methods listening to certain events. Use the listen decorator above to make the connections. The actual event subscriptions are done in the constructor.
The signature of the listeners always is:
listener(dispatcher, arg) -> ignored
dispatcher is the EventDispatcher instance propagating the event. It has lots of useful attributes explained in base.event's notifyXXX docstrings.
You can listen to anything that has a notify method in the EventDispatcher.
Instance Methods | |||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |