ColorButton

constructor()

Creates a new color button.

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 chooser dialog will open, allowing the user to select a color. The swatch will be updated to reflect the new color when the user finishes.

Return

a new color button


constructor(rgba: <Error class: unknown class>)

Creates a new color button showing the given color.

Return

a new color button

Parameters

rgba

A GdkRGBA to set the current color with


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)