Struct
Gtk.TreePath
Description [src]
struct GtkTreePath {
/* No available fields */
}
An opaque structure representing a path to a row in a model.
Constructors
gtk_tree_path_new
Creates a new GtkTreePath
-struct.
This refers to a row.
gtk_tree_path_new_first
Creates a new GtkTreePath
-struct.
gtk_tree_path_new_from_indices
Creates a new path with first_index
and varargs
as indices.
gtk_tree_path_new_from_indicesv
Creates a new path with the given indices
array of length
.
gtk_tree_path_new_from_string
Creates a new GtkTreePath
-struct initialized to path
.
Instance methods
gtk_tree_path_append_index
Appends a new index to a path.
gtk_tree_path_compare
Compares two paths.
gtk_tree_path_copy
Creates a new GtkTreePath
-struct as a copy of path
.
gtk_tree_path_down
Moves path
to point to the first child of the current path.
gtk_tree_path_free
Frees path
. If path
is NULL
, it simply returns.
gtk_tree_path_get_depth
Returns the current depth of path
.
gtk_tree_path_get_indices
Returns the current indices of path
.
gtk_tree_path_get_indices_with_depth
Returns the current indices of path
.
gtk_tree_path_is_ancestor
Returns TRUE
if descendant
is a descendant of path
.
gtk_tree_path_is_descendant
Returns TRUE
if path
is a descendant of ancestor
.
gtk_tree_path_next
Moves the path
to point to the next node at the current depth.
gtk_tree_path_prepend_index
Prepends a new index to a path.
gtk_tree_path_prev
Moves the path
to point to the previous node at the
current depth, if it exists.
gtk_tree_path_to_string
Generates a string representation of the path.
gtk_tree_path_up
Moves the path
to point to its parent node, if it has a parent.