Learn R Programming

RGtk2 (version 2.20.31)

gdkRgbGcSetForeground: gdkRgbGcSetForeground

Description

Sets the foreground color in gc to the specified color (or the closest approximation, in the case of limited visuals). WARNING: gdk_rgb_gc_set_foreground is deprecated and should not be used in newly-written code.

Usage

gdkRgbGcSetForeground(gc, rgb)

Arguments

gc
The GdkGC to modify.
rgb
The color, represented as a 0xRRGGBB integer value.