kiwi.ui.objectlist.ObjectTree(ObjectList) class documentationkiwi.ui.objectlist
(View In Hierarchy)
| Method | __init__ | No summary |
| Method | append | No summary |
| Method | prepend | No summary |
| Method | expand | No summary |
| Method | collapse | This method collapses the row specified by path (hides its child rows, if they exist). @param instance: an instance to collapse |
| Method | get_root | This method returns the root object of a certain instance. If the instance is the root, then returns the given instance. @param instance: an instance which we want the root object |
| Method | get_descendants | No summary |
| Method | _append_internal | Undocumented |
| Method | _on_treeview__row_expanded | Undocumented |
Inherited from PropertyObject (via ObjectList):
| Class Method | __class_init__ | Undocumented |
| Method | __post_init__ | No summary |
| Method | get_attribute_names | Undocumented |
| Method | is_default_value | Undocumented |
| Method | do_set_property | Undocumented |
| Method | do_get_property | Undocumented |
| Method | _set | Undocumented |
| Method | _get | Undocumented |
Inherited from PropertyObject (via ObjectList):
| Class Method | __class_init__ | Undocumented |
| Method | __post_init__ | No summary |
| Method | get_attribute_names | Undocumented |
| Method | is_default_value | Undocumented |
| Method | do_set_property | Undocumented |
| Method | do_get_property | Undocumented |
| Method | _set | Undocumented |
| Method | _get | Undocumented |
Create a new ObjectList object.
| Parameters | columns | a list of Columns |
| objects | a list of objects to be inserted or None | |
| mode | selection mode | |
| sortable | whether the user can sort the list | |
| model | gtk.TreeModel to use or None to create one |
Append the selected row in an instance.
| Parameters | parent | Object or None, representing the parent |
| instance | the instance to be added | |
| select | select the row | |
| Returns | the appended object | |
Prepend the selected row in an instance.
| Parameters | parent | Object or None, representing the parent |
| instance | the instance to be added | |
| select | select the row | |
| Returns | the prepended object | |
This method opens the row specified by path so its children are visible.
| Parameters | instance | an instance to expand at |
| open_all | If True, expand all rows, otherwise just the immediate children |
This method collapses the row specified by path (hides its child rows, if they exist).
| Parameters | instance | an instance to collapse |
This method returns the root object of a certain instance. If the instance is the root, then returns the given instance.
| Parameters | instance | an instance which we want the root object |