gdkGCSetForeground {RGtk2} | R Documentation

## gdkGCSetForeground

### Description

Sets the foreground color for a graphics context. Note that this function uses `color->pixel`, use `gdkGCSetRgbFgColor` to specify the foreground color as red, green, blue components.

### Usage

    gdkGCSetForeground(object, color)

### Arguments

``object`` | a `GdkGC`.
``color`` | the new foreground color.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]