Part of stoqlib.gui.base.lists View In Hierarchy
Method | __init__ | Creates a new AdditionListSlave object |
Method | _setup_klist | Undocumented |
Method | _update_sensitivity | Undocumented |
Method | _edit_model | Undocumented |
Method | _edit | Undocumented |
Method | _clear | Undocumented |
Method | get_items | Undocumented |
Method | get_columns | Undocumented |
Method | run_editor | This can be overriden to provide a custom run_dialog line, |
Method | delete_model | Deletes a model, can be overridden in subclass |
Method | register_editor_kwargs | Undocumented |
Method | get_selection | Undocumented |
Method | hide_add_button | Undocumented |
Method | hide_edit_button | Undocumented |
Method | hide_del_button | Undocumented |
Method | set_editor | Undocumented |
Method | on_klist__row_activated | Undocumented |
Method | on_klist__selection_changed | Undocumented |
Method | on_add_button__clicked | Undocumented |
Method | on_edit_button__clicked | Undocumented |
Method | on_delete_button__clicked | Undocumented |
Parameters | conn | a connection |
columns | column definitions
(type: sequence of kiwi.ui.widgets.list.Columns
) | |
editor_class | the window that is going to be open when user clicks on add_button or edit_button. | |
(type: editor_class: a stoqlib.gui.editors.BaseEditor subclass
) | ||
klist_objects | initial objects to insert into the list |