Re: How to get color tag of layer in python plugin script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 22, 2018 at 11:06 PM, John Tapsell <johnflux@xxxxxxxxx> wrote:

> On 23 Feb 2018 10:57, "Carol Spears" <carol.spears@xxxxxxxxx> wrote:
>
>
>
> On Thu, Feb 22, 2018 at 7:37 PM, John Tapsell <johnflux@xxxxxxxxx> 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.
>

I was pleased to find that the new Layers Dialog is not just a pretty
face....

carol
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux