Package: gtk

Interface gtk-color-chooser

Superclasses

g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

rgba
The rgba property of type gdk-rgba (Read / Write)
The rgba property contains the currently selected color, as a RGBA color. The property can be set to change the current selection programmatically.
use-alpha
The use-alpha property of type :boolean (Read / Write)
When use-alpha is true, colors may have alpha (translucency) information. When it is false, the RGBA color obtained via the rgba property will be forced to have the alpha value 1.0. Implementations are expected to show alpha by rendering the color over a non-uniform background (like a checkerboard pattern).
Default value: true

Details

The gtk-color-chooser interface is an interface that is implemented by widgets for choosing colors. Depending on the situation, colors may be allowed to have alpha (translucency).

The main widgets that implement this interface are gtk-color-button, gtk-color-chooser-widget, and gtk-color-chooser-dialog.

Signal Details

The "color-activated" signal
 lambda (chooser color)    :run-first      
Emitted when a color is activated from the color chooser. This usually happens when the user clicks a color swatch, or a color is selected and the user presses one of the Space, Shift+Space, Return or Enter keys.
chooser
The gtk-color-chooser widget which received the signal.
color
The gdk-rgba color.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-1-23