cola.observable – Observable base class
This module provides the Observable class
-
class cola.observable.Observable
Handles subject/observer notifications.
-
add_message_observer(message, observer)
- Add an observer for a specific message.
-
add_observer(observer)
- Adds an observer to this model
-
notify_message_observers(message, *args, **opts)
- Pythonic signals and slots.
-
notify_observers(*param)
- Notifies observers about attribute changes
-
remove_observer(observer)
- Remove an observer.