Gimp.Item.prototype.get_children

function get_children(): Array(Gimp.Item) {
    // Gjs wrapper for gimp_item_get_children()
}
  

Returns the item's list of children.

This procedure returns the list of items which are children of the specified item. The order is topmost to bottommost.

Since 2.8

Returns

The item's list of children. The returned value must be freed with g_free().