kiwi.ui.objectlist.ObjectTree(ObjectList) class documentationkiwi.ui.objectlist
(View In Hierarchy)
Signals
=======
- B{row-expanded} (list, object):
- Emitted when a row is "expanded", eg the littler arrow to the left
is opened. See the GtkTreeView documentation for more information.
| 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.
@param columns: a list of L{Column}s
@param objects: a list of objects to be inserted or None
@param mode: selection mode
@param sortable: whether the user can sort the list
@param model: gtk.TreeModel to use or None to create one
Append the selected row in an instance. @param parent: Object or None, representing the parent @param instance: the instance to be added @param select: select the row @returns: the appended object
Prepend the selected row in an instance. @param parent: Object or None, representing the parent @param instance: the instance to be added @param select: select the row @returns: the prepended object
This method opens the row specified by path so its children are visible. @param instance: an instance to expand at @param 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). @param 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. @param instance: an instance which we want the root object