Appends a new index to a path.
As a result, the depth of the path is increased.
the index
Moves path
to point to the first child of the current path.
Frees path
. If path
is %NULL, it simply returns.
Returns the current depth of path
.
Returns the current indices of path
.
This is an array of integers, each representing a node in a tree. It also returns the number of elements in the array. The array should not be freed.
Moves the path
to point to the next node at the current depth.
Prepends a new index to a path.
As a result, the depth of the path is increased.
the index
Moves the path
to point to the previous node at the
current depth, if it exists.
Generates a string representation of the path.
This string is a “:” separated list of numbers. For example, “4:10:0:3” would be an acceptable return value for this string.
Moves the path
to point to its parent node, if it has a parent.
Creates a new #GtkTreePath-struct initialized to path
.
path
is expected to be a colon separated list of numbers.
For example, the string “10:4:0” would create a path of depth
3 pointing to the 11th child of the root node, the 5th
child of that 11th child, and the 1st child of that 5th child.
If an invalid path string is passed in, %NULL is returned.
The string representation of a path
Creates a new #GtkTreePath-struct. This refers to a row.