Learn R Programming

RGtk2 (version 2.20.31)

gdkGCSetForeground: 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
color
the new foreground color.