Change the value of a color that has already been allocated. If colormap is not a private colormap, then the color must have been allocated using gdk_colormap_alloc_colors() with the writeable set to TRUE.
colormap : a GdkColormap.
color : a GdkColor, with the color to change in the pixel field, and the new value in the remaining fields.
Returns :
|
Compare two colors.
colora : a GdkColor.
colorb : another GdkColor.
Returns : TRUE if the two colors compare equal
|
A hash function suitable for using for a hash table that stores GdkColor's.
colora : a GdkColor.
colorb : NOT USED.
Returns : The hash function appled to colora
Color Contexts
Name
Color Contexts -- routines for allocating colors (deprecated).
Synopsis
|
Description
The GdkColorContext type is used for allocating groups of colors.
It is now deprecated in favor of the gdk_colormap_*() functions described in the Colormaps and Colors section.
Details
struct GdkColorContext
|
struct GdkColorContextDither
|
enum GdkColorContextMode
|
visual :
colormap :
Returns :
|
推荐文章
精彩文章
|