Package: gtk

Function gtk:color-button-new

Lambda List

gtk:color-button-new ()

Return Value

The new gtk:color-button widget.

Details

Creates a new color button. This returns a widget in the form of a button containing a swatch representing the currently 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.

Warning

The gtk:color-button implementation is deprecated since 4.10. Use the gtk:color-dialog-button widget instead.
 

See also

2024-5-21