ClickAction
Object Hierarchy:
Description:
public class ClickAction :
Action
The ClickAction structure contains only private data
Content:
Properties:
- public bool held { get; }
Whether the clickable actor has the pointer grabbed
- public int long_press_duration { set; get; }
The minimum duration of a press for it to be recognized as a long press
gesture, in milliseconds.
- public int long_press_threshold { set; get; }
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