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.
Function | __init__ | Create a new ListContainer object. |
Function | _create_ui | Undocumented |
Function | _add_buttons_to_box | Undocumented |
Function | _pack_vbox | Undocumented |
Function | _set_child_packing | Undocumented |
Function | _add_item | Undocumented |
Function | _remove_item | Undocumented |
Function | _edit_item | Undocumented |
Function | add_item | Appends an item to the list |
Function | add_items | Appends a list of items to the list |
Function | remove_item | Removes an item from the list |
Function | update_item | Updates an item in the list. |
Function | default_remove | Asks the user confirmation for removal of an item. |
Function | set_list_type | Sets the kind of list type. |
Function | clear | Removes all the items in the list |
Function | _on_list__selection_changed | Undocumented |
Function | _on_list__row_activated | Undocumented |
Function | _on_add_button__clicked | Undocumented |
Function | _on_remove_button__clicked | Undocumented |
Function | _on_edit_button__clicked | Undocumented |
Create a new ListContainer object.
Appends an item to the list
Appends a list of items to the list
Removes an item from the list
Updates an item in the list. You should call this if you change the object
Asks the user confirmation for removal of an item.
Sets the kind of list type.
Removes all the items in the list