GestureAction
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_gesture_action_get_type ()" ) ]
[
Version ( since =
"1.8" ) ]
public class GestureAction :
Action
The GestureAction structure contains only private data and should be accessed using the provided API
Content:
Properties:
Creation methods:
Methods:
- public void cancel ()
Cancel a GestureAction before it begins
- public virtual bool gesture_prepare (Actor actor)
- public unowned InputDevice get_device (uint point)
- public unowned Event get_last_event (uint point)
Retrieves a reference to the last
Event for a touch point.
- public void get_motion_coords (uint point, 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 point, 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 point, out float press_x, out float press_y)
Retrieves the coordinates, in stage space, of the press event that
started the dragging for a specific touch point.
- public void get_release_coords (uint point, out float release_x, out float release_y)
Retrieves the coordinates, in stage space, where the touch point was
last released.
- public unowned EventSequence get_sequence (uint point)
- public void get_threshold_trigger_distance (out float x, out float y)
- public GestureTriggerEdge get_threshold_trigger_edge ()
- public GestureTriggerEdge get_threshold_trigger_egde ()
- public float get_velocity (uint point, out float velocity_x, out float velocity_y)
Retrieves the velocity, in stage pixels per millisecond, 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.
- public void set_threshold_trigger_distance (float x, float y)
Sets the threshold trigger distance for the gesture drag threshold, if
any.
- public void set_threshold_trigger_edge (GestureTriggerEdge edge)
Sets the edge trigger for the gesture drag threshold, if any.
Signals:
Inherited Members:
All known members inherited from class Clutter.ActorMeta
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref