Gtk.TreeModel.prototype.filter_new

function filter_new(root:Gtk.TreePath):Gtk.TreeModel {
    // Gjs wrapper for gtk_tree_model_filter_new()
}

Creates a new Gtk.TreeModel, with child_model as the child_model and root as the virtual root.

Since 2.4

root

A Gtk.TreePath or null.

Returns

A new Gtk.TreeModel.