Sets our main struct and passes it to the parent class.
Creates a new Color
A destructor is present on this object, but not explicitly documented in the source.
Makes a copy of a gdk.Color
Compares two colors.
Frees a gdk.Color created with Color.copy.
Get the main Gtk struct
the main Gtk struct as a void*
A hash function suitable for using for a hash table that stores gdk.Colors
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 blue component of the color
The green component of the color
For allocated colors, the pixel value used to draw this color on the screen. Not used anymore.
The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity
Parses a textual specification of a color and fill in the red, green, and blue fields of a gdk.Color
the main Gtk struct
Deprecated: Use gdk.RGBA
A gdk.Color is used to describe a color, similar to the XColor struct used in the X11 drawing API.