Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.