ClickAction
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_click_action_get_type ()" ) ]
[
Version ( since =
"1.4" ) ]
public class ClickAction :
Action
The ClickAction structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public bool held { get; }
Whether the clickable actor has the pointer grabbed
- public int long_press_duration { get; set; }
The minimum duration of a press for it to be recognized as a long press
gesture, in milliseconds.
- public int long_press_threshold { get; set; }
The maximum allowed distance that can be covered (on both axes) before a
long press gesture is cancelled, in pixels.
- public bool pressed { get; }
Whether the clickable actor should be in "pressed" state
Creation methods:
Methods:
- public uint get_button ()
Retrieves the button that was pressed.
- public void get_coords (out float press_x, out float press_y)
Retrieves the screen coordinates of the button press.
- public ModifierType get_state ()
Retrieves the modifier state of the click action.
- public void release ()
Emulates a release of the pointer button, which ungrabs the pointer and
unsets the pressed state.
Signals:
Inherited Members:
All known members inherited from class Clutter.ActorMeta
All known members inherited from class GLib.Object