EventControllerMotionRef

public struct EventControllerMotionRef : EventControllerMotionProtocol, GWeakCapturing

GtkEventControllerMotion is an event controller meant for situations where you need to track the position of the pointer.

This object was added in 3.24.

The EventControllerMotionRef type acts as a lightweight Swift reference to an underlying GtkEventControllerMotion instance. It exposes methods that can operate on this data type through EventControllerMotionProtocol conformance. Use EventControllerMotionRef only as an unowned reference to an existing GtkEventControllerMotion instance.

  • ptr
    Untyped pointer to the underlying `GtkEventControllerMotion` instance.
    

    For type-safe access, use the generated, typed pointer event_controller_motion_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

EventControllerMotion Class