DragAction
public struct DragAction : OptionSet
Used in GdkDragContext to indicate what the destination
should do with the dropped data.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GdkDragActionenum valueDeclaration
Swift
@inlinable public var value: GdkDragAction { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
GdkDragActionenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GdkDragAction) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
Means nothing, and should not be used.
Declaration
Swift
public static let `default`: DragAction -
Copy the data.
Declaration
Swift
public static let copy: DragAction -
Move the data, i.e. first copy it, then delete it from the source using the DELETE target of the X selection protocol.
Declaration
Swift
public static let move: DragAction -
Add a link to the data. Note that this is only useful if source and destination agree on what it means.
Declaration
Swift
public static let link: DragAction -
Special action which tells the source that the destination will do something that the source doesn’t understand.
Declaration
Swift
public static let `private`: DragAction -
Ask the user what to do with the data.
Declaration
Swift
public static let ask: DragAction
View on GitHub
Install in Dash
DragAction Structure Reference