A ListDialog implements a ListContainer in a gtk.Dialog with a close button.
It's a simple Base class which needs to be subclassed to provide interesting functionality.
Example: >>> class MyListDialog(ListDialog): ... ... columns = [Column('name')] ... list_type = ListType.UNEDITABLE ... ... def populate(self): ... return [Settable(name='test')] ... ... def add_item(self): ... return Settable(name="added")
>>> dialog = MyListDialog() >>> dialog.run()
Function | __init__ | The keyactions parameter is sent to kiwi.controllers.BaseController, |
The keyactions parameter is sent to kiwi.controllers.BaseController, the rest are sent to kiwi.ui.views.SlaveView