Learn R Programming

RGtk2 (version 2.20.31)

gdkImageSetColormap: gdkImageSetColormap

Description

Sets the colormap for the image to the given colormap. Normally there's no need to use this function, images are created with the correct colormap if you get the image from a drawable. If you create the image from scratch, use the colormap of the drawable you intend to render the image to.

Usage

gdkImageSetColormap(object, colormap)

Arguments

object
colormap