DNDEventProtocol
public protocol DNDEventProtocol : EventProtocol
The DNDEventProtocol protocol exposes the methods and properties of an underlying GdkDNDEvent instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see DNDEvent.
Alternatively, use DNDEventRef as a lighweight, unowned reference if you already have an instance you just want to use.
An event related to drag and drop operations.
-
Untyped pointer to the underlying
GdkDNDEventinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
dnd_event_ptrDefault implementationTyped pointer to the underlying
GdkDNDEventinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkDNDEventinstance.Declaration
Swift
var dnd_event_ptr: UnsafeMutablePointer<GdkDNDEvent>! { get } -
Required Initialiser for types conforming to
DNDEventProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
DNDEventProtocol Protocol Reference