Gtk.Container.prototype.get_children

function get_children():[Gtk.Widget] {
    // Gjs wrapper for gtk_container_get_children()
}

Returns the container's non-internal children. See Gtk.Container.prototype.forall for details on what constitutes an "internal" child.

Returns

a newly-allocated list of the container's non-internal children.