gtk.tree_path

Module for [TreePath] class

class TreePath

Types 1

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
TreePath self()Returns `this`, for use in `with` statements.
gtk.tree_path.TreePath newFirst()Creates a new #GtkTreePath-struct.
gtk.tree_path.TreePath newFromIndices(int[] indices)Creates a new path with the given indices array of length.
gtk.tree_path.TreePath newFromString(string path)Creates a new #GtkTreePath-struct initialized to path.
void appendIndex(int index)Appends a new index to a path.
int compare(gtk.tree_path.TreePath b)Compares two paths.
gtk.tree_path.TreePath copy()Creates a new #GtkTreePath-struct as a copy of path. Returns: a new #GtkTreePath-struct
void down()Moves path to point to the first child of the current path.
int getDepth()Returns the current depth of path. Returns: The depth of path
int[] getIndices()Returns the current indices of path.
bool isAncestor(gtk.tree_path.TreePath descendant)Returns true if descendant is a descendant of path.
bool isDescendant(gtk.tree_path.TreePath ancestor)Returns true if path is a descendant of ancestor.
void next()Moves the path to point to the next node at the current depth.
void prependIndex(int index)Prepends a new index to a path.
bool prev()Moves the path to point to the previous node at the current depth, if it exists. Returns: true if path has a previous node, and the move was made
string toString_()Generates a string representation of the path.
bool up()Moves the path to point to its parent node, if it has a parent. Returns: true if path has a parent, and the move was made
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkTreePath-struct. This refers to a row. Returns: A newly created #GtkTreePath-struct.