Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Creates a copy of src, which should be freed with Color.free. Primarily used by language bindings, not that useful otherwise (since colors can just be copied by assignment in C).
Frees a color allocated by Color.copy.
Get the main Gtk struct
the main Gtk struct as a void*
Fill in the fields of a color from a string specification. The string can either one of a large set of standard names. (Taken from the CSS <ulink url="http://dev.w3.org/csswg/css-color/[named-color|named-colors]">specification</ulink>), or it can be a hexadecimal value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')
Returns a textual specification of color in the hexadecimal form <literal>#rrrrggggbbbb</literal>, where <literal>r</literal>, <literal>g</literal> and <literal>b</literal> are hex digits representing the red, green, and blue components respectively.
value of blue component
value of green component
value of red component
the main Gtk struct
The gdk.Color structure is used to represent a color in an uncalibrated RGB color-space.