3
from kiwi.model import PickledModel
4
from kiwi.ui.delegates import ProxyDelegate
6
# define the class that holds our application data
7
class Person(PickledModel):
9
person = Person.unpickle()
11
# create and run a proxy interface attached to person
12
view = ProxyDelegate(person, gladefile="Person",
13
widgets=["address", 'name', 'phone'],
14
delete_handler=gtk.main_quit)
18
# save changes done to the instance