gtk.tree_path

Module for [TreePath] class

class TreePath

Types 1

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
TreePath self() nothrowReturns `this`, for use in `with` statements.
gtk.tree_path.TreePath newFirst() static nothrowCreates a new #GtkTreePath-struct.
gtk.tree_path.TreePath newFromIndices(int[] indices) static nothrowCreates a new path with the given indices array of length.
gtk.tree_path.TreePath newFromString(string path) static nothrowCreates a new #GtkTreePath-struct initialized to path.
void appendIndex(int index) nothrowAppends a new index to a path.
int compare(gtk.tree_path.TreePath b) nothrowCompares two paths.
gtk.tree_path.TreePath copy() nothrowCreates a new #GtkTreePath-struct as a copy of path. Returns: a new #GtkTreePath-struct
void down() nothrowMoves path to point to the first child of the current path.
int getDepth() nothrowReturns the current depth of path. Returns: The depth of path
int[] getIndices() nothrowReturns the current indices of path.
bool isAncestor(gtk.tree_path.TreePath descendant) nothrowReturns true if descendant is a descendant of path.
bool isDescendant(gtk.tree_path.TreePath ancestor) nothrowReturns true if path is a descendant of ancestor.
void next() nothrowMoves the path to point to the next node at the current depth.
void prependIndex(int index) nothrowPrepends a new index to a path.
bool prev() nothrowMoves 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_() nothrowGenerates a string representation of the path.
bool up() nothrowMoves 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.