Gtk.TreePath.prototype.get_depth

function get_depth():Number {
    // Gjs wrapper for gtk_tree_path_get_depth()
}

Returns the current depth of path.

Returns

The depth of path