A detailed explanation of this here is from the Gtk people. Essentially, TreePath is a way of describing the logical position of a string in a model. For example, TreePath "5: 3: 2" means:
- look at the children of the sixth [5] node at this level; that
- look at the children of the fourth [3] node at this level; that
- look at the third [2] node at this level
This describes exactly one node, after which you drill each level of the tree.
For comparison, a TreeIter is a more direct reference to the node in question, rather as a pointer to a specific node.
source share