Color.change

Warning gdk_color_change is deprecated and should not be used in newly-written code. Changes 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.

class Color
static
int
change

Parameters

colormap Colormap

a GdkColormap.

color Color

a GdkColor, with the color to change in the pixel field, and the new value in the remaining fields.

Return Value

Type: int

TRUE if the color was successfully changed.

Meta