gdkColormapAllocColors {RGtk2} | R Documentation |
Allocates colors from a colormap.
gdkColormapAllocColors(colormap, colors, writeable, best.match)
|
[GdkColor ] The color values to allocate. On return, the pixel
values for allocated colors will be filled in. |
|
[logical] If TRUE , the colors are allocated writeable
(their values can later be changed using gdkColorChange ).
Writeable colors cannot be shared between applications. |
|
[logical] If TRUE , GDK will attempt to do matching against
existing colors if the colors cannot be allocated as requested. |
A list containing the following elements:
retval |
[integer] The number of colors that were not successfully allocated. |
|
[logical] An list of length ncolors . On return, this
indicates whether the corresponding color in colors was
successfully allocated or not. |
Derived by RGtkGen from GTK+ documentation