gtkColorSelectionSetColor {RGtk2}R Documentation

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 is deprecated and should not be used in newly-written code. Use gtkColorSelectionSetCurrentColor instead.

Usage

gtkColorSelectionSetColor(object, color)

Arguments

object [GtkColorSelection] a GtkColorSelection.
color [numeric] a list of 4 doubles specifying the red, green, blue and opacity to set the current color to.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]