GrabStatus

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • the resource was successfully grabbed.

    Declaration

    Swift

    static let success: GdkGrabStatus
  • the resource is actively grabbed by another client.

    Declaration

    Swift

    static let alreadyGrabbed: GdkGrabStatus
  • the resource was grabbed more recently than the specified time.

    Declaration

    Swift

    static let invalidTime: GdkGrabStatus
  • the grab window or the confine_to window are not viewable.

    Declaration

    Swift

    static let notViewable: GdkGrabStatus
  • the resource is frozen by an active grab of another client.

    Declaration

    Swift

    static let frozen: GdkGrabStatus
  • the grab failed for some other reason. Since 3.16

    Declaration

    Swift

    static let failed: GdkGrabStatus