TypeScript API Documentation for GTK
API Version: 4.0
Library Version: 4.23.3
Generated with TypeDoc via ts-for-gir v5.2.0
Deprecated 4.10
A GtkTreeRowReference tracks model changes so that it always refers to the same row (a Gtk.TreePath refers to a position, not a fixed row). Create a new GtkTreeRowReference with gtk_tree_row_reference_new().
gtk_tree_row_reference_new()
since 4.10: Use Gio.ListModel instead
Deprecated
Static
Copies a Gtk.TreeRowReference.
a copy of reference
reference
since 4.10
Free’s reference. reference may be null
null
Returns the model that the row reference is monitoring.
the model
Returns a path that the row reference currently points to, or null if the path pointed to is no longer valid.
a current path
Returns true if the reference is non-null and refers to a current valid path.
true
true if reference points to a valid path
Lets a set of row reference created by gtk_tree_row_reference_new_proxy() know that the model emitted the ::row-deleted signal.
gtk_tree_row_reference_new_proxy()
a GObject.Object
the path position that was deleted
Lets a set of row reference created by gtk_tree_row_reference_new_proxy() know that the model emitted the ::row-inserted signal.
the row position that was inserted
A GtkTreeRowReference tracks model changes so that it always refers to the same row (a Gtk.TreePath refers to a position, not a fixed row). Create a new GtkTreeRowReference with
gtk_tree_row_reference_new().Deprecated
since 4.10: Use Gio.ListModel instead