Class k.u.d.ProxyDelegate(
Delegate
):
Part of
kiwi.ui.delegates
A class that combines view, controller and proxy functionality into a single package. The Delegate class possesses a top-level window.
ivar
model
the model
ivar
proxy
the proxy
Function
__init__
Creates a new Delegate.
Function
set_model
Set model.
Function
proxy_updated
Undocumented
Function
update
Undocumented
def
__init__(self, model, proxy_widgets=None, gladefile=None, toplevel=None, widgets=(), toplevel_name=None, domain=None, delete_handler=None, keyactions=None):
Creates a new Delegate.
param
model
instance to be attached
param
proxy_widgets
The keyactions parameter is sent to
kiwi.controllers.BaseController
, the rest are sent to
kiwi.ui.views.BaseView
def
set_model(self, model):
Set model.
param
model
def
proxy_updated(self, widget, attribute, value):
Undocumented
def
update(self, attribute):
Undocumented