known subclasses: kiwi.ui.listdialog.ListDialog
Function | __init__ | The keyactions parameter is sent to kiwi.controllers.BaseController, |
Function | _on_listcontainer__add_item | Undocumented |
Function | _on_listcontainer__remove_item | Undocumented |
Function | _on_listcontainer__edit_item | Undocumented |
Function | _on_listcontainer__selection_changed | Undocumented |
Function | set_list_type | Set list type. |
Function | add_list_item | Add item to list. |
Function | add_list_items | Add items to list. |
Function | remove_list_item | Remove item from list. |
Function | update_list_item | Update item in list. |
Function | refresh | Updates all the items in the list. |
Function | add_item | This must be implemented in a subclass if you want to be able |
Function | remove_item | A subclass can implement this to get a notification after |
Function | edit_item | A subclass must implement this if you want to support editing |
Function | selection_changed | This will be called when the selection changes in the ListDialog |
Function | populate | This will be called once after the user interface construction is done. |
The keyactions parameter is sent to kiwi.controllers.BaseController, the rest are sent to kiwi.ui.views.SlaveView
Set list type.
Add item to list.
Add items to list.
Remove item from list.
Update item in list.
Updates all the items in the list. Clears the list and calls "populate()"
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
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
A subclass must implement this if you want to support editing of objects.
This will be called when the selection changes in the ListDialog
This will be called once after the user interface construction is done. It should return a list of objects which will initially be inserted