gdkGCSetRgbFgColor: gdkGCSetRgbFgColor

Description Usage Arguments Details Author(s)

View source: R/gdkFuncs.R

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

1
gdkGCSetRgbFgColor(object, color)

Arguments

object

a GdkGC

color

an unallocated GdkColor.

Details

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.