| Trees | Indices | Help |
|
|---|
|
|
zope.interface.Interface --+
|
IObservable
|
|||
|
|||
|
|||
|
|||
|
|||
Attaches an observer that will be notified when the specified attribute changes value. @param name the attribute name to observer @param observer the observer/listener to be notified @type observer callable |
Removes an observer from watching the specified attribute. @param name the attribute name to remove the observer from @param observer the observer/listener to be removed |
Notify all registered observers that an attribute has changed value.
Register observers must be a Python callable and will receive the
following keyword arguments:
observerable - a reference to the observed object
attrName - the attribute name that has changed
oldValue - the previous value
newValue - the new value
@param name the attribute name that has changed
@param oldValue the old attribute value
@param newValue the new attribute value
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Mon Oct 19 14:42:04 2009 | http://epydoc.sourceforge.net |