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 BDeprecated.default BsetUseAlpha(boolean useAlpha) Deprecated.Methods inherited from interface org.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Method Details
-
setRgba
Deprecated.The currently selected color, as aGdkRGBAstruct.The property can be set to change the current selection programmatically.
- Parameters:
rgba- the value for thergbaproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setUseAlpha
Deprecated.Whether colors may have alpha (translucency).When ::use-alpha is
false, theGdkRGBAstruct obtained via theGtk.ColorChooser:rgbaproperty 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-alphaproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
ColorDialogandColorDialogButtoninstead of widgets implementingGtkColorChooser