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
GdkDNDEvent
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
dnd_event_ptr
Default implementationTyped pointer to the underlying
GdkDNDEvent
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkDNDEvent
instance.Declaration
Swift
var dnd_event_ptr: UnsafeMutablePointer<GdkDNDEvent>! { get }
-
Required Initialiser for types conforming to
DNDEventProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)