SensitivityType

public extension SensitivityType
  • Cast constructor, converting any binary integer to a SensitivityType.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The control is made insensitive if no action can be triggered

    Declaration

    Swift

    static let auto: GtkSensitivityType
  • on

    The control is always sensitive

    Declaration

    Swift

    static let on: GtkSensitivityType
  • off

    The control is always insensitive

    Declaration

    Swift

    static let off: GtkSensitivityType