Sets our main struct and passes it to the parent class.
Returns a newly created GtkGesture that recognizes drags.
Emitted whenever dragging starts.
Emitted whenever the dragging is finished.
Emitted whenever the dragging point moves.
Get the main Gtk struct
Gets the offset from the start point.
Gets the point where the drag started.
the main Gtk struct as a void*
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
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.
GtkGestureDrag is a GtkGesture 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 [method@Gtk.GestureDrag.get_offset] and [method@Gtk.GestureDrag.get_start_point].