Gtk.TreePath Members

The members of Gtk.TreePath are listed below.

See Also: Inherited members from GLib.Opaque

Public Constructors

Constructor; builds an empty TreePath.
Creates a path for a set of indices.
Internal constructor
Creates a new Gtk.TreePath object.

Public Properties

[read-only]
Depthint. Returns the current depth of the TreePath.
[read-only]
static
GTypeGLib.GType. GType Property.
[read-only]
Indicesint[]. Returns the current indices of the TreePath. This is an array of integers, each representing a node in a tree. This value should not be freed.

Public Methods

AppendIndex(int)
Appends a new index to a path. As a result, the depth of the path is increased.
Compare(TreePath) : int
Compares two paths. If this path appears before Gtk.TreePath b in a tree, then -1 is returned. If the parameter path appears before this path, then 1 is returned. If the two nodes are equal, then 0 is returned.
Copy() : TreePath
Copies a TreePath into a new TreePath object.
Down()
Changes this TreePath object to refer to its own first child.
Free()
Disposes of the TreePath object and any resources it was using.
IsAncestor(TreePath) : bool
Tests whether this TreePath is an ancestor of a given TreePath
IsDescendant(TreePath) : bool
Tests whether this TreePath is a descendant of a particular TreePath.
static
NewFirst() : TreePath
Creates a new GtkTreePath.
Next()
Moves the TreePath to point to the next node at the current depth.
PrependIndex(int)
Prepends a new index to a path. As a result, the depth of the path is increased.
Prev() : bool
Moves the TreePath to point to the previous node at the current depth, if it exists.
Up() : bool
Moves the TreePath to point to its parent node, if it has a parent.