RGtk2 (version 2.20.31)

gdkRgbCmapNew: 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