Class k.u.l.ListDialog(gtk.Dialog, ListSlave):

Part of kiwi.ui.listdialog

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,

def __init__(self, columns=None):

The keyactions parameter is sent to kiwi.controllers.BaseController, the rest are sent to kiwi.ui.views.SlaveView