Returns a newly created gtk.gesture.Gesture that recognizes drags.
Connect to DragBegin signal.
Connect to DragEnd signal.
Connect to DragUpdate signal.
Gets the offset from the start point.
Gets the point where the drag started.
Returns the button number gesture listens for.
Returns the button number currently interacting with gesture, or 0 if there is none.
Returns the event sequence currently interacting with gesture.
Gets whether a gesture is exclusive.
Returns true if the gesture is only triggered by touch events.
Sets the button number gesture listens to.
Sets whether gesture is exclusive.
Sets whether to handle only touch events.
gtk.gesture_drag.GestureDrag is a gtk.gesture.Gesture implementation for drags.
The drag operation itself can be tracked throughout the signal@Gtk.GestureDrag::drag-begin, signal@Gtk.GestureDrag::drag-update and signal@Gtk.GestureDrag::drag-end signals, and the relevant coordinates can be extracted through gtk.gesture_drag.GestureDrag.getOffset and gtk.gesture_drag.GestureDrag.getStartPoint.