ColorChooserSignalName
public enum ColorChooserSignalName : String, SignalNameProtocol
Undocumented
-
Emitted when a color is activated from the color chooser. This usually happens when the user clicks a color swatch, or a color is selected and the user presses one of the keys Space, Shift+Space, Return or Enter.
Declaration
Swift
case colorActivated = "color-activated"
-
The
rgba
property contains the currently selected color, as aGdkRGBA
struct. The property can be set to change the current selection programmatically.Declaration
Swift
case notifyRGBA = "notify::rgba"
-
When
use-alpha
istrue
, colors may have alpha (translucency) information. When it isfalse
, theGdkRGBA
struct obtained via theGtkColorChooser: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).
Declaration
Swift
case notifyUseAlpha = "notify::use-alpha"