Gtk.Container.prototype.get_path_for_child

function get_path_for_child(child:Gtk.Widget):Gtk.WidgetPath {
    // Gjs wrapper for gtk_container_get_path_for_child()
}

Returns a newly created widget path representing all the widget hierarchy from the toplevel down to and including child.

child

a child of container

Returns

A newly created Gtk.WidgetPath