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.spe...@gmail.com> wrote: > > > On Wed, Feb 21, 2018 at 9:53 PM, Partha Bagchi <parth...@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! > > carol > > _______________________________________________ >>> 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 >>> >> >> > _______________________________________________ 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