KeyMatch

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The key event does not match

    Declaration

    Swift

    static let none: GdkKeyMatch
  • The key event matches if keyboard state (specifically, the currently active group) is ignored

    Declaration

    Swift

    static let partial: GdkKeyMatch
  • The key event matches

    Declaration

    Swift

    static let exact: GdkKeyMatch