DropControllerMotionRef

public struct DropControllerMotionRef : DropControllerMotionProtocol, GWeakCapturing

GtkDropControllerMotion is an event controller tracking the pointer during Drag-and-Drop operations.

It is modeled after [classGtk.EventControllerMotion] so if you have used that, this should feel really familiar.

This controller is not able to accept drops, use [classGtk.DropTarget] for that purpose.

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

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

DropControllerMotion Class