Property

GtkColorChooser:use-alpha

since: 3.4

Declaration

property use-alpha: gboolean [ read, write ]

Description [src]

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).

Type:gboolean

Available since: 3.4

Default valueTRUE
Getter methodgtk_color_chooser_get_use_alpha()
Setter methodgtk_color_chooser_set_use_alpha()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno