Package: gtk

Function gtk-color-button-new-with-rgba

Lambda List

gtk-color-button-new-with-rgba (rgba)

Arguments

rgba -- a gdk-rgba color to set the current color with

Return Value

A new gtk-color-button widget.

Details

Creates a new color button with the given RGBA color.

This returns a widget in the form of a small button containing a swatch representing the current selected color. When the button is clicked, a color-selection dialog will open, allowing the user to select a color. The swatch will be updated to reflect the new color when the user finishes.
 

See also

2021-1-23