Package org.gnome.gtk
Interface ColorChooser.Builder<B extends Builder<B>>
- All Superinterfaces:
BuilderInterface
- All Known Implementing Classes:
ColorButton.Builder
,ColorChooserDialog.Builder
,ColorChooserWidget.Builder
- Enclosing interface:
ColorChooser
-
Method Summary
Modifier and TypeMethodDescriptiondefault B
Deprecated.default B
setUseAlpha
(boolean useAlpha) Deprecated.Methods inherited from interface io.github.jwharm.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Method Details
-
setRgba
Deprecated.The currently selected color, as aGdkRGBA
struct.The property can be set to change the current selection programmatically.
- Parameters:
rgba
- the value for thergba
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setUseAlpha
Deprecated.Whether colors may have alpha (translucency).When ::use-alpha is
false
, theGdkRGBA
struct obtained via theGtk.ColorChooser:rgba
property will be forced to have alpha == 1.Implementations are expected to show alpha by rendering the color over a non-uniform background (like a checkerboard pattern).
- Parameters:
useAlpha
- the value for theuse-alpha
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-