MotionEventProtocol
public protocol MotionEventProtocol : EventProtocol
The MotionEventProtocol protocol exposes the methods and properties of an underlying GdkMotionEvent 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 MotionEvent.
Alternatively, use MotionEventRef as a lighweight, unowned reference if you already have an instance you just want to use.
An event related to a pointer or touch device motion.
-
Untyped pointer to the underlying
GdkMotionEventinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
motion_event_ptrDefault implementationTyped pointer to the underlying
GdkMotionEventinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkMotionEventinstance.Declaration
Swift
var motion_event_ptr: UnsafeMutablePointer<GdkMotionEvent>! { get } -
Required Initialiser for types conforming to
MotionEventProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
MotionEventProtocol Protocol Reference