gtk.tree_row_reference

Module for [TreeRowReference] class

Types 1

A GtkTreeRowReference tracks model changes so that it always refers to the same row (a #GtkTreePath refers to a position, not a fixed row). Create a new GtkTreeRowReference with [gtk.tree_row_reference.TreeRowReference.new_].

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
TreeRowReference self()Returns `this`, for use in `with` statements.
gtk.tree_row_reference.TreeRowReference copy()Copies a #GtkTreeRowReference. Returns: a copy of reference
gtk.tree_model.TreeModel getModel()Returns the model that the row reference is monitoring. Returns: the model
gtk.tree_path.TreePath getPath()Returns a path that the row reference currently points to, or null if the path pointed to is no longer valid. Returns: a current path, or null
bool valid()Returns true if the reference is non-null and refers to a current valid path. Returns: true if reference points to a valid path
void deleted(gobject.object.ObjectWrap proxy, gtk.tree_path.TreePath path)Lets a set of row reference created by [gtk.treerowreference.TreeRowReference.newProxy] know that the model emitted the #GtkTreeModel::row-deleted signal.
void inserted(gobject.object.ObjectWrap proxy, gtk.tree_path.TreePath path)Lets a set of row reference created by [gtk.treerowreference.TreeRowReference.newProxy] know that the model emitted the #GtkTreeModel::row-inserted signal.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.tree_model.TreeModel model, gtk.tree_path.TreePath path)Creates a row reference based on path.