Class k.u.l.ListContainer(gtk.HBox):

Part of kiwi.ui.listdialog View In Hierarchy

A ListContainer is an ObjectList with buttons to be able to modify the content of the list. Depending on the list_mode, @see set_list_mode you will have add, remove and edit buttons.

Signals

Instance Variablesadd_buttonadd button (type: gtk.Button )
remove_buttonremove button (type: gtk.Button )
edit_buttonedit button (type: gtk.Button )
Method __init__
Method _create_ui Undocumented
Method _add_item Undocumented
Method _remove_item Undocumented
Method _edit_item Undocumented
Method add_item Appends an item to the list
Method add_items Appends a list of items to the list
Method remove_item Removes an item from the list
Method update_item Updates an item in the list.
Method set_list_type
Method _on_list__selection_changed Undocumented
Method _on_add_button__clicked Undocumented
Method _on_remove_button__clicked Undocumented
Method _on_edit_button__clicked Undocumented
def __init__(self, columns):
Parameterscolumnscolumns for the kiwi.ui.objectlist.ObjectList (type: a list of kiwi.ui.objectlist.Columns )
def _create_ui(self, columns):
Undocumented
def _add_item(self):
Undocumented
def _remove_item(self, item):
Undocumented
def _edit_item(self, item):
Undocumented
def add_item(self, item):
Appends an item to the list
Parametersitemitem to append
def add_items(self, items):
Appends a list of items to the list
Parametersitemsitems to add (type: a sequence of items )
def remove_item(self, item):
Removes an item from the list
Parametersitemitem to remove
def update_item(self, item):
Updates an item in the list. You should call this if you change the object
Parametersitemitem to update
def set_list_type(self, list_type):
Parameterslist_type
def _on_list__selection_changed(self, list, selection):
Undocumented
def _on_add_button__clicked(self, button):
Undocumented
def _on_remove_button__clicked(self, button):
Undocumented
def _on_edit_button__clicked(self, button):
Undocumented
API Documentation for Kiwi, generated by pydoctor.