RGtk2 (version 2.20.31)

gdkColorChange: gdkColorChange

Description

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 gdkColormapAllocColors with the writeable set to TRUE. WARNING: gdk_color_change is deprecated and should not be used in newly-written code.

Usage

gdkColorChange(object, color)

Arguments

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

Value

TRUE if the color was successfully changed.