Signal

GtkGestureSwipe::swipe

Declaration

void
swipe (
  GtkGestureSwipe* self,
  gdouble velocity_x,
  gdouble velocity_y,
  gpointer user_data
)

Description [src]

This signal is emitted when the recognized gesture is finished, velocity and direction are a product of previously recorded events.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:3.14

Parameters

velocity_x

Type: gdouble

Velocity in the X axis, in pixels/sec.

velocity_y

Type: gdouble

Velocity in the Y axis, in pixels/sec.