ColorChooser.useAlpha

Get useAlpha property.

  1. bool useAlpha [@property getter]
    interface ColorChooser
    @property
    bool
    useAlpha
    ()
  2. bool useAlpha [@property setter]

Return Value

Type: bool

When ::use-alpha is true, colors may have alpha (translucency) information. When it is false, the #GdkRGBA struct obtained via the #GtkColorChooser: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).