GestureAction
Object Hierarchy:
Description:
public class GestureAction :
Action
The ClutterGestureClass structure contains only private data.
Content:
Creation methods:
Methods:
- public void cancel ()
Cancel a GestureAction before it begins
- public virtual bool gesture_prepare (Actor actor)
- public weak InputDevice get_device (uint point)
- public void get_motion_coords (uint device, out float motion_x, out float motion_y)
Retrieves the coordinates, in stage space, of the latest motion event
during the dragging
- public float get_motion_delta (uint device, out float delta_x, out float delta_y)
Retrieves the incremental delta since the last motion event during the
dragging.
- public uint get_n_current_points ()
Retrieves the number of points currently active.
- public int get_n_touch_points ()
Retrieves the number of requested points to trigger the gesture.
- public void get_press_coords (uint device, out float press_x, out float press_y)
Retrieves the coordinates, in stage space, of the press event that started
the dragging for an specific pointer device
- public void get_release_coords (uint device, out float release_x, out float release_y)
Retrieves the coordinates, in stage space, of the point where the pointer
device was last released.
- public unowned EventSequence get_sequence (uint point)
- public float get_velocity (uint device, out float velocity_x, out float velocity_y)
Retrieves the velocity, in stage pixels per milliseconds, of the latest
motion event during the dragging
- public void set_n_touch_points (int nb_points)
Sets the number of points needed to trigger the gesture.
Signals:
Inherited Members:
All known members inherited from class Clutter.ActorMeta
All known members inherited from class GLib.Object