GrabOwnership

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • All other devices’ events are allowed.

    Declaration

    Swift

    static let none: GdkGrabOwnership
  • Other devices’ events are blocked for the grab window.

    Declaration

    Swift

    static let window: GdkGrabOwnership
  • Other devices’ events are blocked for the whole application.

    Declaration

    Swift

    static let application: GdkGrabOwnership