Package: gtk

Class gtk:color-selection

Superclasses

gtk:box, gtk:container, gtk:widget, gtk:buildable, gtk:orientable, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

current-alpha
The current-alpha property of type :uint (Read / Write)
The current opacity value, 0 fully transparent, 65535 fully opaque.
Allowed values: <= 65535
Default value: 65535
current-color
The current-color property of type gdk:color (Read / Write)
The current color.
current-rgba
The current-rgba property of type gdk:rgba (Read / Write)
The current RGBA color.
has-opacity-control
The has-opacity-control property of type :boolean (Read / Write)
Whether the color selector should allow setting the opacity.
Default value: false
has-palette
The has-palette property of type :boolean (Read / Write)
Whether a palette should be used.
Default value: false

Details

The gtk:color-selection widget is used to select a color. It consists of a color wheel and a number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the gtk:color-selection-dialog widget.

Warning

The gtk:color-selection widget is deprecated since GTK 3.4 and should not be used in newly written code.

Signal Details

The "color-changed" signal
lambda (selection)    :run-first      
selection
The gtk:color-selection widget that received the signal.
The signal is emitted when the color changes in the color selector according to its update policy.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2025-07-14