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

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

 



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?)

On 22 Feb 2018 12:18, "Carol Spears" <carol.spears@xxxxxxxxx> wrote:

>
>
> On Wed, Feb 21, 2018 at 9:53 PM, Partha Bagchi <partha1b@xxxxxxxxx> wrote:
>
>> According to ./libgimp/gimpitem_pdb.c:879, gimp_item_get_color_tag gets
>> the color tag of the specified item.
>>
>> Does that help?
>>
>
>  color_tag = pdb.gimp_item_get_color_tag(item)
>
> I noticed that the layers dialog got really large.  Thanks for the pointer!
>
> 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
>>>
>>
>>
>
_______________________________________________
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