Learn R Programming

RGtk2 (version 2.20.31)

gdkColorAlloc: gdkColorAlloc

Description

Allocates a single color from a colormap. WARNING: gdk_color_alloc has been deprecated since version 2.2 and should not be used in newly-written code. Use gdkColormapAllocColor instead.

Usage

gdkColorAlloc(object, color)

Arguments

object
color
The color to allocate. On return, the pixel field will be filled in.

Value

TRUE if the allocation succeeded.