gdkColorAlloc: gdkColorAlloc
Description
Allocates a single color from a colormap.
WARNING: gdk_color_alloc
is deprecated and should not be used in newly-written code. Use gdkColormapAllocColor
instead.Usage
gdkColorAlloc(object, color)
Arguments
color
[GdkColor
] The color to allocate. On return, the
pixel
field will be filled in. Value
- [integer]
TRUE
if the allocation succeeded.