Learn R Programming

RGtk2 (version 2.20.31)

gdkGCSetRgbFgColor: gdkGCSetRgbFgColor

Description

Set the foreground color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap.

Usage

gdkGCSetRgbFgColor(object, color)

Arguments

object
color
an unallocated GdkColor.

Details

Calling this function for a GC without a colormap is an error.