|
Public Methods |
| | TreePath (GtkTreePath* castitem, bool make_a_copy=true) |
| | TreePath (const TreePath& src) |
| TreePath& | operator= (const TreePath& src) |
| | ~TreePath () |
| GtkTreePath* | gobj () |
| const GtkTreePath* | gobj () const |
| GtkTreePath* | gobj_copy () const |
| | TreePath (bool root=false) |
| | TreePath (const Glib::ustring& path) |
| | TreePath (const TreeModel::iterator& iter) |
| Glib::ustring | to_string () const |
| | Generates a string representation of the path.
|
| void | append_index (int index) |
| | Appends a new index to a path.
|
| void | prepend_index (int index) |
| | Prepends a new index to a path.
|
| int | get_depth () const |
| | Returns the current depth of path.
|
| Glib::ArrayHandle<int> | get_indices () const |
| void | next () |
| | Moves the path to point to the next node at the current depth.
|
| bool | prev () |
| | Moves the path to point to the previous node at the current depth, if it exists.
|
| bool | up () |
| | Moves the path to point to it's parent node, if it has a parent.
|
| void | down () |
| | Moves path to point to the first child of the current path.
|
| bool | is_ancestor (TreePath& descendant) const |
| | Returns true if descendant is a descendant of path.
|
| bool | is_descendant (TreePath& ancestor) const |
| | Returns true if path is a descendant of ancestor.
|
Protected Attributes |
| GtkTreePath* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
| bool | operator== (const TreePath& lhs, const TreePath& rhs) |
| bool | operator!= (const TreePath& lhs, const TreePath& rhs) |
| bool | operator< (const TreePath& lhs, const TreePath& rhs) |
| bool | operator> (const TreePath& lhs, const TreePath& rhs) |
| bool | operator<= (const TreePath& lhs, const TreePath& rhs) |
| bool | operator>= (const TreePath& lhs, const TreePath& rhs) |
| Gtk::TreePath | wrap (GtkTreePath* object, bool take_copy=false) |