Hello, Try gimp_item_is_group to check if a layer is a group layer, Then you can use gimp_item_get_children (on the group layers) to get the children by their order (topmost to bottomost). Finally, you can use gimp_item_get_parent to get the parent layerof a layer inside a layer group. Note - these function are not present in GIMP 2.7.1, you'll need to get the latest source and build it to gain access to these functions (they are documented there like the rest of the PDB functions). ~LightningIsMyName On Fri, Oct 15, 2010 at 1:19 PM, Gino D <ginodonig@xxxxxxxxx> wrote: > > Hi. > > Correct me if I'm wrong, but I have seemed to notice that the > "gimp-image-get-layers" procedure, when running on GIMP 2.7.1, doesn't > return the identifiers of the layers nested within groups, while > yielding the ones of unattached layers and layer groups. > So, how may such identifiers be obtained? Is there any > procedure/stratagem for this purpose? > > Thanks in advance. > _______________________________________________ > Gimp-developer mailing list > Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer