gtk.tree_row_reference
Module for [TreeRowReference] class
class TreeRowReference
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
TreeRowReference self()Returns `this`, for use in `with` statements.gtk.tree_row_reference.TreeRowReference newProxy(gobject.object.ObjectWrap proxy, gtk.tree_model.TreeModel model, gtk.tree_path.TreePath path)You do not need to use this function.gtk.tree_row_reference.TreeRowReference copy()Copies a #GtkTreeRowReference. Returns: a copy of referencegtk.tree_model.TreeModel getModel()Returns the model that the row reference is monitoring. Returns: the modelgtk.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 nullbool valid()Returns true if the reference is non-null and refers to a current valid path. Returns: true if reference points to a valid pathvoid 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(gtk.tree_model.TreeModel model, gtk.tree_path.TreePath path)Creates a row reference based on path.