use_alpha


Description:

[ ConcreteAccessor ]
public abstract bool use_alpha { get; set; }

Whether colors may have alpha (translucency).

Note:

Use [class@Gtk.ColorDialog] and [class@Gtk.ColorDialogButton] instead of widgets implementing `GtkColorChooser`

When GtkColorChooser::use-alpha is false, the `GdkRGBA` struct obtained via the [ property@Gtk.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).