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 currently selected color, as a GdkRGBA struct.

    The property can be set to change the current selection programmatically.

    Declaration

    Swift

    case notifyRgba = "notify::rgba"
  • Whether colors may have alpha (translucency).

    When use-alpha is false, the GdkRGBA struct obtained via the [propertyGtk.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).

    Declaration

    Swift

    case notifyUseAlpha = "notify::use-alpha"