Signals

  • 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
def __init__(self, columns=[], objects=None, mode=gtk.SELECTION_BROWSE, sortable=False, model=None):

Create a new ObjectList object.

Parameterscolumnsa list of Columns
objectsa list of objects to be inserted or None
modeselection mode
sortablewhether the user can sort the list
modelgtk.TreeModel to use or None to create one
def _append_internal(self, parent, instance, select, prepend):
Undocumented
def append(self, parent, instance, select=False):

Append the selected row in an instance.

ParametersparentObject or None, representing the parent
instancethe instance to be added
selectselect the row
Returnsthe appended object
def prepend(self, parent, instance, select=False):

Prepend the selected row in an instance.

ParametersparentObject or None, representing the parent
instancethe instance to be added
selectselect the row
Returnsthe prepended object
def expand(self, instance, open_all=True):

This method opens the row specified by path so its children are visible.

Parametersinstancean instance to expand at
open_allIf True, expand all rows, otherwise just the immediate children
def collapse(self, instance):

This method collapses the row specified by path (hides its child rows, if they exist).

Parametersinstancean instance to collapse
def get_root(self, instance):

This method returns the root object of a certain instance. If the instance is the root, then returns the given instance.

Parametersinstancean instance which we want the root object
def get_descendants(self, root_instance):

This method returns the descendants objects of a certain instance. If the given instance is a leaf, then return an empty sequence.

Parametersroot_instancean instance which we want the descendants
Returnsa sequence of descendants objects
def _on_treeview__row_expanded(self, treeview, treeiter, treepath):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2015-12-15 11:23:22.