Gimp.Item.prototype.list_children

function list_children(): Array(Gimp.Item) {
    // Gjs wrapper for gimp_item_list_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 3.0

Returns

The item's list of children. The returned list must be freed with g_list_free(). Item elements belong to libgimp and must not be unrefed.