Gtk.TreeRowReference.new

function new(model:Gtk.TreeModel, path:Gtk.TreePath):Gtk.TreeRowReference {
    // Gjs wrapper for gtk_tree_row_reference_new()
}

Creates a row reference based on path.

This reference will keep pointing to the node pointed to by path, so long as it exists. Any changes that occur on model are propagated, and the path is updated appropriately. If path isn't a valid path in model, then null is returned.

model

a Gtk.TreeModel

path

a valid Gtk.TreePath to monitor

Returns

a newly allocated Gtk.TreeRowReference, or null