Learn R Programming

RGtk2 (version 2.20.31)

gtkColorSelectionSetColor: gtkColorSelectionSetColor

Description

Sets the current color to be color. The first time this is called, it will also set the original color to be color too. WARNING: gtk_color_selection_set_color has been deprecated since version 2.0 and should not be used in newly-written code. Use gtkColorSelectionSetCurrentColor instead.

Usage

gtkColorSelectionSetColor(object, color)

Arguments

color
a list of 4 doubles specifying the red, green, blue and opacity to set the current color to.