SuperclassesDocumented SubclassesDirect SlotsrgbaThe rgba property of type gdk:rgba (Read / Write)
The currently selected color, as a RGBA color. The property can be set to change the current selection programmatically. use-alphaThe use-alpha property of type :boolean (Read / Write) Whether colors may have alpha (translucency). 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 the gtk:color-button, gtk:color-chooser-widget, and gtk:color-chooser-dialog widgets. Warning The gtk:color-chooser implementation is deprecated since 4.10. Use the gtk:color-dialog and gtk:color-dialog-button widgets
instead. 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. |
| Slot Access FunctionsInherited Slot Access FunctionsSee also |