gdk_color_alloc
has been deprecated since version 2.2 and should not be used in newly-written code. Use gdkColormapAllocColor
instead.
gdkColorAlloc(object, color)
object
GdkColormap
.color
pixel
field will be filled in.TRUE
if the allocation succeeded.