gdkRgbCmapNew {RGtk2} | R Documentation

## gdkRgbCmapNew

### Description

Creates a new `GdkRgbCmap` structure. The cmap maps color indexes to RGB colors. If `n.colors` is less than 256, then images containing color values greater than or equal to `n.colors` will produce undefined results, including possibly segfaults.

### Usage

    gdkRgbCmapNew(colors)

### Arguments

``colors`` | The colors, represented as 0xRRGGBB integer values.

### Value

[`GdkRgbCmap`] The newly created `GdkRgbCmap`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]