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
.
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. This value should not be freed.
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 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. This structure refers to a row.