ColorChooser.useAlpha

bool useAlpha() @property

Get useAlpha property.

Returns

Whether colors may have alpha (translucency).

When ::use-alpha is false, the gdk.rgba.RGBA struct obtained via the gtk.color_chooser.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).

Deprecated

void useAlpha(bool propval) @property

Set useAlpha property.

Parameters

propvalWhether colors may have alpha (translucency). When ::use-alpha is false, the gdk.rgba.RGBA struct obtained via the gtk.color_chooser.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).

Deprecated