gdkColorAlloc: gdkColorAlloc

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

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

1
gdkColorAlloc(object, color)

Arguments

object

a GdkColormap.

color

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

Value

[integer] TRUE if the allocation succeeded.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gdkColorAlloc in RGtk2...