gesture-action: Add clutter_gesture_action_get_last_event()

Export the last event received for each touch point in its entirety,
instead of duplicating ClutterEvent accessors one at a time.

examples/pan-action.c has been updated to show the type of the event
that's causing the panning.

https://bugzilla.gnome.org/show_bug.cgi?id=685737
This commit is contained in:
Emanuele Aina
2012-10-08 17:44:13 +02:00
parent 61f2d751d0
commit ccdbd36234
5 changed files with 59 additions and 2 deletions

View File

@@ -2940,6 +2940,7 @@ clutter_snap_constraint_get_type
ClutterGestureAction
ClutterGestureActionClass
clutter_gesture_action_new
clutter_gesture_action_get_last_event
clutter_gesture_action_get_press_coords
clutter_gesture_action_get_motion_coords
clutter_gesture_action_get_motion_delta