gdkColormapAllocColor(object, color, writeable, best.match)
object
GdkColormap
.color
pixel
field will be
filled in if allocation succeeds.writeable
TRUE
, the color is allocated writeable
(their values can later be changed using gdkColorChange
).
Writeable colors cannot be shared between applications.best.match
TRUE
, GDK will attempt to do matching against
existing colors if the color cannot be allocated as requested.TRUE
if the allocation succeeded.