Home | Trees | Index | Help |
|
---|
Package kiwi :: Package ui :: Module objectlist :: Class ObjectTree |
|
object
--+ |PropertyObject
--+ |object
--+ | | |_GObject
--+ |ObjectList
--+ | ObjectTree
Method Summary | |
---|---|
Return the appended object | |
This method collapses the row specified by path (hides its child rows, if they exist). | |
This method opens the row specified by path so its children are visible. | |
Return the prepended object | |
Inherited from ObjectList | |
Allows a list to be loaded, by default clearing it first. | |
Removes all the instances of the list | |
L.count(item) -> integer -- return number of occurrences of value | |
Same as double clicking on the row rowno | |
Extend list by appending elements from the iterable | |
Returns the name of a column | |
| |
Return treemodel of the current list | |
Returns the item after instance in the list. | |
Returns the item before instance in the list. | |
Returns the currently selected object If an object is not selected, None is returned | |
Return the selected row number or None if no rows were selected | |
Returns a list of currently selected objects If no objects are selected an empty list is returned | |
| |
Return treeview of the current list | |
| |
Return first index of value | |
L.insert(index, item) -- insert object before index | |
Remove and return item at index (default last) | |
| |
| |
Reloads the values from all objects. | |
Remove an instance from the list. | |
L.reverse() -- reverse *IN PLACE* | |
| |
Selects a number of rows corresponding to paths | |
| |
| |
| |
| |
Sets the number of visible rows of the treeview. | |
L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1 | |
| |
| |
Inherited from PropertyObject | |
| |
| |
| |
|
Instance Method Details |
---|
append(self, parent, instance, select=False)
|
collapse(self, instance)This method collapses the row specified by path (hides its child rows, if they exist).
|
expand(self, instance, open_all=True)This method opens the row specified by path so its children are visible.
|
prepend(self, parent, instance, select=False)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Feb 6 10:53:34 2007 | http://epydoc.sf.net |