[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-developer
Subject:    Re: [Gimp-developer] How to get color tag of layer in python plugin script?
From:       John Tapsell <johnflux () gmail ! com>
Date:       2018-02-23 4:06:22
Message-ID: CAHQ6N+rkia-1F8B=8KBgcwnBZxEs+EdEqx0+rtR4Nqi7+QeOpQ () mail ! gmail ! com
[Download RAW message or body]

On 23 Feb 2018 10:57, "Carol Spears" <carol.spears@gmail.com> wrote:



On Thu, Feb 22, 2018 at 7:37 PM, John Tapsell <johnflux@gmail.com> wrote:

> Thanks! It would be cool if it was a property on the layer itself in
> python, and if there was a version that returned the actual colour name
> instead of a number. (there isn't, right?)
>
> <Image>/Filers/Python Fu/Console has a browser button that gives a
searchable list of what can be done.  I suggest that you search for "tag".

Thanks - I don't see anything other than the get and set function, so I
think this confirms that there is no method for getting the color tag as a
string.  This is something that needs to be converted manually I think.
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic