|Think about Loose Coupling|
Supported color names of Goo::Canvas (and Gtk2)by kikuchiyo (Monk)
|on Dec 03, 2009 at 18:59 UTC||Need Help??|
kikuchiyo has asked for the
wisdom of the Perl Monks concerning the following question:
I'm writing a Gtk2 GUI application that uses Goo::Canvas to plot a data file. (zentara's Goo::Canvas Graphing demo helped a lot: I'm thankful for it.)
I saw in that demo and also in the example scripts that came with the module that it is possible to specify colors with their names, e.g.
What I was unable to find is an official list of such color names that are supported by Goo::Canvas.
Come to think of it, I couldn't find a list of color names that are supported by Gtk2/Cairo/Pango itself.
Are these two lists identical?
Am I correct in my assumption that these lists are also identical to that found in rgb.txt that defines color names for X11?