Re: [Gimp-developer] How to get color tag of layer in python plugin script?

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 gmail com> wrote:

On Wed, Feb 21, 2018 at 9:53 PM, Partha Bagchi <partha1b gmail com> 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!


gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
List archives:

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