gtk.tree_path
Module for [TreePath] class
class TreePath
Types 1
classTreePath : gobject.boxed.Boxed
An opaque structure representing a path to a row in a model.
Methods
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 [gtk.tree_path.TreePath] initialized to path.gtk.tree_path.TreePath copy() nothrowCreates a new [gtk.tree_path.TreePath] as a copy of path. Returns: a new [gtk.tree_path.TreePath]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.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 madebool 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