![]() |

Public Methods | |
| virtual | ~TreeStore () |
| GtkTreeStore* | gobj () |
| const GtkTreeStore* | gobj () const |
| GtkTreeStore* | gobj_copy () |
| iterator | erase (const iterator& iter) |
| iterator | insert (const iterator& iter) |
| iterator | prepend () |
| iterator | prepend (const TreeNodeChildren& node) |
| iterator | append () |
| iterator | append (const TreeNodeChildren& node) |
| void | iter_swap (const iterator& a, const iterator& b) |
| Swaps a and b in the same level of tree_store . | |
| void | move (const iterator& source, const iterator& destination) |
| Moves source to the position at destination. | |
| void | reorder (const TreeNodeChildren& node, const Glib::ArrayHandle<int>& new_order) |
| Reorders the children of node to follow the order indicated by new_order. | |
| void | clear () |
| Removes all rows from tree_store. | |
| bool | is_ancestor (const iterator& iter, const iterator& descendant) const |
Returns true if iter is an ancestor of descendant . | |
| int | iter_depth (const iterator& iter) const |
| Returns the depth of iter . | |
| bool | iter_is_valid (const iterator& iter) const |
| WARNING: This function is slow. | |
Static Public Methods | |
| Glib::RefPtr<TreeStore> | create (const TreeModelColumnRecord& columns) |
Protected Methods | |
| TreeStore (const TreeModelColumnRecord& columns) | |
| virtual void | set_value_impl (const iterator& row, int column, const Glib::ValueBase& value) |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gtk::TreeStore> | wrap (GtkTreeStore* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removes all rows from tree_store.
|
|
|
|
|
|
|
|
|
Reimplemented from Gtk::TreeDragDest. |
|
|
Reimplemented from Gtk::TreeDragDest. |
|
|
|
|
|
|
|
||||||||||||
|
Returns That is, iter is the parent (or grandparent or great-grandparent) of descendant .
|
|
|
Returns the depth of iter . This will be 0 for anything on the root level, 1 for anything down a level, etc.
|
|
|
WARNING: This function is slow. Only use it for debugging and/or testing purposes. Checks if the given iter is a valid iter for this Gtk::TreeStore.
|
|
||||||||||||
|
Swaps a and b in the same level of tree_store . Note that this function only works with unsorted stores. Since: 2.2
|
|
||||||||||||
|
Moves source to the position at destination. source and destination should be at the same level. Note that this function only works with unsorted stores.
|
|
|
|
|
|
|
|
||||||||||||
|
Reorders the children of node to follow the order indicated by new_order. Note that this function only works with unsorted stores. |
|
||||||||||||||||
|
Reimplemented from Gtk::TreeModel. |
|
||||||||||||
|
|