Sets our main struct and passes it to the parent class
Creates a new Color
The color values.
Makes a copy of a color structure. The result must be freed using gdk_color_free().
Compares two colors.
Frees a color structure created with gdk_color_copy().
the main Gtk struct as a void*
The color values.
A hash function suitable for using for a hash table that stores GdkColors.
The color values.
The color values.
Returns a textual specification of color in the hexadecimal form #rrrrggggbbbb, where r, g and b are hex digits representing the red, green and blue components respectively. The returned string can be parsed by gdk_color_parse(). Since 2.12
Parses a textual specification of a color and fill in the red, green, and blue fields of a GdkColor structure. The string can either one of a large set of standard names (taken from the X11 rgb.txt file), or it can be a hex 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').
the main Gtk struct
A GdkColor represents a color.
When working with cairo, it is often more convenient to use a GdkRGBA instead.