DragResult

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The drag operation was successful.

    Declaration

    Swift

    static let success: GtkDragResult
  • No suitable drag target.

    Declaration

    Swift

    static let noTarget: GtkDragResult
  • The user cancelled the drag operation.

    Declaration

    Swift

    static let userCancelled: GtkDragResult
  • The drag operation timed out.

    Declaration

    Swift

    static let timeoutExpired: GtkDragResult
  • The pointer or keyboard grab used for the drag operation was broken.

    Declaration

    Swift

    static let grabBroken: GtkDragResult
  • The drag operation failed due to some unspecified error.

    Declaration

    Swift

    static let error: GtkDragResult