Package kiwi :: Package ui :: Module listdialog :: Class ListContainer
[frames | no frames]

Type ListContainer

object --+    
         |    
  _GObject --+
             |
            ListContainer


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


Method Summary
  add_item(self, item)
Appends an item to the list
  add_items(self, items)
Appends a list of items to the list
  remove_item(self, item)
Removes an item from the list
  set_list_type(self, list_type)
  update_item(self, item)
Updates an item in the list.

Instance Variable Summary
gtk.Button add_button: add button
gtk.Button edit_button: edit button
gtk.Button remove_button: remove button

Method Details

add_item(self, item)

Appends an item to the list
Parameters:
item - item to append

add_items(self, items)

Appends a list of items to the list
Parameters:
items - items to add
           (type=a sequence of items)

remove_item(self, item)

Removes an item from the list
Parameters:
item - item to remove

set_list_type(self, list_type)

Parameters:
list_type -

update_item(self, item)

Updates an item in the list. You should call this if you change the object
Parameters:
item - item to update

Instance Variable Details

add_button

add button
Type:
gtk.Button

edit_button

edit button
Type:
gtk.Button

remove_button

remove button
Type:
gtk.Button

Generated by Epydoc 2.1 on Fri Mar 23 15:56:54 2007 http://epydoc.sf.net