Part of kiwi.model View In Hierarchy
Known subclasses: kiwi.model.PickledModel
Method | __init__ | Undocumented |
Method | ensure_init | Sets up the variables so the Model's getattr hook and proxy |
Method | disable_autonotify | disable automatic notification to proxies based on __setattr__. |
Method | notify_proxies | Notify proxies that an attribute value has changed. |
Method | register_proxy_for_attribute | Attach a proxy to an attribute. The proxy will be notified of |
Method | unregister_proxy_for_attribute | Detach a proxy from an attribute. |
Method | unregister_proxy | Deattach a proxy completely from the model |
Method | flush_proxies | Removes all proxies attached to Model |
Method | block_proxy | Temporarily block a proxy from receiving any notification. See |
Method | unblock_proxy | Re-enable notifications to a proxy |
Method | __setattr__ | A special setattr hook that notifies the registered proxies that |
Note that setattr() assumes that the name of the attribute being changed and the proxy attribute are the same. If this is not the case (as may happen when using setters) you must call notify_proxies() manually from the subclass' setter.