GtkGestureDrag
GtkGestureDrag — Drag gesture
|
|
Includes
#include <gtk/gtk.h>
Functions
gtk_gesture_drag_get_start_point ()
gboolean
gtk_gesture_drag_get_start_point (GtkGestureDrag *gesture,
gdouble *x,
gdouble *y);
If the gesture
is active, this function returns TRUE
and fills in x
and y
with the drag start coordinates,
in window-relative coordinates.
Returns
TRUE if the gesture is active
Since: 3.14
gtk_gesture_drag_get_offset ()
gboolean
gtk_gesture_drag_get_offset (GtkGestureDrag *gesture,
gdouble *x,
gdouble *y);
If the gesture
is active, this function returns TRUE and
fills in x
and y
with the coordinates of the current point,
as an offset to the starting drag point.
Returns
TRUE if the gesture is active
Since: 3.14
Types and Values
GtkGestureDrag
typedef struct _GtkGestureDrag GtkGestureDrag;