I am trying to write a plugin that will work with animated multi-layer images.
In order to work with them it needs to be able to get and set layer names by layer id (because frame timing is based on layer name).
But I have gone over the API documentation many times and cannot find a way to do this. I managed to make it work with the undocumented gimp_item_get_name() but it only works if it is the first and only image open. It gets screwed up when there is more then one image open presumably because gimp_item_get_name() works on a global level.
Is gimp really missing this important API function, or am I missing something?