Re: [Gimp-developer] Getting the ID of a nested layer on GIMP 2.7.1

2010-10-18 Thread Gino D
On Fri, Oct 15, 2010 at 1:59 PM, LightningIsMyName wrote: > > 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

Re: [Gimp-developer] Getting the ID of a nested layer on GIMP 2.7.1

2010-10-15 Thread Martin Nordholts
On 10/15/2010 01:59 PM, LightningIsMyName wrote: > 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). Also note that the latest code from git is

Re: [Gimp-developer] Getting the ID of a nested layer on GIMP 2.7.1

2010-10-15 Thread LightningIsMyName
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 - thes