Gtk.TreeModelFilter.prototype.convert_child_path_to_path

function convert_child_path_to_path(child_path:Gtk.TreePath):Gtk.TreePath {
    // Gjs wrapper for gtk_tree_model_filter_convert_child_path_to_path()
}

Converts child_path to a path relative to filter. That is, child_path points to a path in the child model. The rerturned path will point to the same row in the filtered model. If child_path isn't a valid path on the child model or points to a row which is not visible in filter, then null is returned.

Since 2.4

child_path

A Gtk.TreePath to convert.

Returns

A newly allocated Gtk.TreePath, or null.