### Struct

# Gtk TreePath

deprecated: 4.10

#### Description [src]

    struct GtkTreePath {
      /* No available fields */
    }

An opaque structure representing a path to a row in a model.

Deprecated since: 4.10

Please do not use it in newly written code.

#### Constructors

###### gtk_tree_path_new

Creates a new `GtkTreePath` This refers to a row.

deprecated: 4.10

###### gtk_tree_path_new_first

Creates a new `GtkTreePath`.

deprecated: 4.10

###### gtk_tree_path_new_from_indices

Creates a new path with `first_index` and `varargs` as indices.

deprecated: 4.10

###### gtk_tree_path_new_from_indicesv

Creates a new path with the given `indices` array of `length`.

deprecated: 4.10

###### gtk_tree_path_new_from_string

Creates a new `GtkTreePath` initialized to `path`.

deprecated: 4.10

#### Instance methods

###### gtk_tree_path_append_index

Appends a new index to a path.

deprecated: 4.10

###### gtk_tree_path_compare

Compares two paths.

deprecated: 4.10

###### gtk_tree_path_copy

Creates a new `GtkTreePath` as a copy of `path`.

deprecated: 4.10

###### gtk_tree_path_down

Moves `path` to point to the first child of the current path.

deprecated: 4.10

###### gtk_tree_path_free

Frees `path`. If `path` is `NULL`, it simply returns.

deprecated: 4.10

###### gtk_tree_path_get_depth

Returns the current depth of `path`.

deprecated: 4.10

###### gtk_tree_path_get_indices

Returns the current indices of `path`.

deprecated: 4.10

###### gtk_tree_path_get_indices_with_depth

Returns the current indices of `path`.

deprecated: 4.10

###### gtk_tree_path_is_ancestor

Returns `TRUE` if `descendant` is a descendant of `path`.

deprecated: 4.10

###### gtk_tree_path_is_descendant

Returns `TRUE` if `path` is a descendant of `ancestor`.

deprecated: 4.10

###### gtk_tree_path_next

Moves the `path` to point to the next node at the current depth.

deprecated: 4.10

###### gtk_tree_path_prepend_index

Prepends a new index to a path.

deprecated: 4.10

###### gtk_tree_path_prev

Moves the `path` to point to the previous node at the current depth, if it exists.

deprecated: 4.10

###### gtk_tree_path_to_string

Generates a string representation of the path.

deprecated: 4.10

###### gtk_tree_path_up

Moves the `path` to point to its parent node, if it has a parent.

deprecated: 4.10