Class GestureDrag

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
GesturePan

@Generated("org.javagi.JavaGI") public class GestureDrag extends GestureSingle

Recognizes drag gestures.

The drag operation itself can be tracked throughout the Gtk.GestureDrag::drag-begin, Gtk.GestureDrag::drag-update and Gtk.GestureDrag::drag-end signals, and the relevant coordinates can be extracted through getOffset(Out, Out) and getStartPoint(Out, Out).

  • Constructor Details

    • GestureDrag

      public GestureDrag(MemorySegment address)
      Create a GestureDrag instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • GestureDrag

      public GestureDrag()
      Create a new GestureDrag.
  • Method Details