Known subclasses: kiwi.ui.listdialog.ListDialog

No class docstring
Method __init__ The keyactions parameter is sent to kiwi.controllers.BaseController, the rest are sent to kiwi.ui.views.SlaveView
Method set_list_type Set list type. @see: Listcontainer.set_list_type
Method add_list_item Add item to list. @see: Listcontainer.add_item
Method add_list_items Add items to list. @see: Listcontainer.add_items
Method remove_list_item Remove item from list. @see: Listcontainer.remove_item
Method update_list_item Update item in list. @see: Listcontainer.edit_item
Method refresh Updates all the items in the list. Clears the list and calls "populate()"
Method add_item This must be implemented in a subclass if you want to be able to add items.
Method remove_item No summary
Method edit_item A subclass must implement this if you want to support editing of objects. @returns: False if the item should not be removed
Method selection_changed This will be called when the selection changes in the ListDialog @param selection: selected object or None if nothing is selected
Method populate No summary
Method _on_listcontainer__add_item Undocumented
Method _on_listcontainer__remove_item Undocumented
Method _on_listcontainer__edit_item Undocumented
Method _on_listcontainer__selection_changed Undocumented

Inherited from BaseController (via SlaveDelegate):

Method on_key_press The keypress handler, which dispatches keypresses to the functions mapped to in self.keyactions
Method get_parent parent: the correspondent parent for the controller
Method set_parent parent: the correspondent parent for the controller
Method get_view view: the correspondent view for the controller
Method set_view view: the correspondent view for the controller
Method set_keyactions Sets the keyactions mapping. See the constructor documentation for a description of it.
Method update_keyactions XXX
Method _get_all_methods Undocumented

Inherited from BaseController (via SlaveDelegate):

Method on_key_press The keypress handler, which dispatches keypresses to the functions mapped to in self.keyactions
Method get_parent parent: the correspondent parent for the controller
Method set_parent parent: the correspondent parent for the controller
Method get_view view: the correspondent view for the controller
Method set_view view: the correspondent view for the controller
Method set_keyactions Sets the keyactions mapping. See the constructor documentation for a description of it.
Method update_keyactions XXX
Method _get_all_methods Undocumented
def __init__(self, columns=None, orientation=gtk.ORIENTATION_VERTICAL):

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

def _on_listcontainer__add_item(self, listcontainer):
Undocumented
def _on_listcontainer__remove_item(self, listcontainer, item):
Undocumented
def _on_listcontainer__edit_item(self, listcontainer, item):
Undocumented
def _on_listcontainer__selection_changed(self, listcontainer, selection):
Undocumented
def set_list_type(self, list_type):

Set list type.

See AlsoListcontainer.set_list_type
def add_list_item(self, item):

Add item to list.

See AlsoListcontainer.add_item
def add_list_items(self, item):

Add items to list.

See AlsoListcontainer.add_items
def remove_list_item(self, item):

Remove item from list.

See AlsoListcontainer.remove_item
def update_list_item(self, item):

Update item in list.

See AlsoListcontainer.edit_item
def refresh(self):

Updates all the items in the list. Clears the list and calls "populate()"

def add_item(self):

This must be implemented in a subclass if you want to be able to add items.

It should return the model you want to add to the list or None if you don't want anything to be added, eg the user cancelled creation of the model

def remove_item(self, item):

A subclass can implement this to get a notification after an item is removed. If it's not implemented ListContainer.default_remove will be called

ReturnsFalse if the item should not be removed
def edit_item(self, item):

A subclass must implement this if you want to support editing of objects.

ReturnsFalse if the item should not be removed
def selection_changed(self, selection):

This will be called when the selection changes in the ListDialog

Parametersselectionselected object or None if nothing is selected
def populate(self):

This will be called once after the user interface construction is done. It should return a list of objects which will initially be inserted

Returnsobject to insert (type: sequence of objects)
API Documentation for Kiwi, generated by pydoctor at 2015-12-07 23:44:36.