|
Public Types |
| typedef unsigned int | size_type |
| typedef int | difference_type |
| typedef int | value_type |
| typedef int& | reference |
| typedef const int& | const_reference |
| typedef int* | iterator |
| typedef const int* | const_iterator |
typedef std::reverse_iterator<
iterator > | reverse_iterator |
typedef std::reverse_iterator<
const_iterator > | const_reverse_iterator |
Public Member Functions |
| | TreePath () |
| | TreePath (GtkTreePath* gobject, bool make_a_copy=true) |
| | TreePath (const TreePath& other) |
| TreePath& | operator= (const TreePath& other) |
| | ~TreePath () |
| void | swap (TreePath& other) |
| GtkTreePath* | gobj () |
| | Provides access to the underlying C instance.
|
| const GtkTreePath* | gobj () const |
| | Provides access to the underlying C instance.
|
| GtkTreePath* | gobj_copy () const |
| | TreePath (size_type n, value_type value=0) |
| | TreePath (const Glib::ustring& path) |
| | TreePath (const TreeModel::iterator& iter) |
| template <class In> | TreePath (In pbegin, In pend) |
| void | clear () |
| TreePath& | operator= (const TreeModel::iterator& iter) |
| template <class In> void | assign (In pbegin, In pend) |
| template <class In> void | append (In pbegin, In pend) |
| void | push_back (int index) |
| void | push_front (int index) |
| size_type | size () const |
| bool | empty () const |
| reference | operator[] (size_type i) |
| const_reference | operator[] (size_type i) const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| void | next () |
| bool | prev () |
| bool | up () |
| void | down () |
| bool | is_ancestor (const TreePath& descendant) const |
| bool | is_descendant (const TreePath& ancestor) const |
| Glib::ustring | to_string () const |
| void | append_index (int index) |
| void | prepend_index (int index) |
| int | get_depth () const |
| Glib::ArrayHandle<int> | get_indices () const |
| bool | set_in_selection_data (SelectionData& selection_data, const Glib::RefPtr<const TreeModel>& model) const |
| | Sets selection data of target type "GTK_TREE_MODEL_ROW".
|
Static Public Member Functions |
| bool | get_from_selection_data (const SelectionData& selection_data, Glib::RefPtr<TreeModel>& model, TreePath& path) |
| | Obtains a Gtk::TreeModel and Gtk::TreeModel::Path from selection data of target type "GTK_TREE_MODEL_ROW".
|
| bool | get_from_selection_data (const SelectionData& selection_data, TreePath& path) |
| | See description in the other overload.
|
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) |
| void | swap (TreePath& lhs, TreePath& rhs) |
| Gtk::TreePath | wrap (GtkTreePath* object, bool take_copy=false) |