gtkColorSelectionSetColor: gtkColorSelectionSetColor

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

1

Arguments

object

a GtkColorSelection.

color

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


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