Class

ClutterClickAction

Description

class Clutter.ClickAction : Clutter.Action {
  parent_instance: ClutterAction
}
No description available.

Hierarchy

hierarchy this ClutterClickAction ancestor_0 ClutterAction ancestor_0--this ancestor_1 ClutterActorMeta ancestor_1--ancestor_0 ancestor_2 GInitiallyUnowned ancestor_2--ancestor_1 ancestor_3 GObject ancestor_3--ancestor_2

Constructors

clutter_click_action_new

Creates a new ClutterClickAction instance.

since: 1.4

Instance methods

clutter_click_action_get_button

Retrieves the button that was pressed.

since: 1.4

clutter_click_action_get_coords

Retrieves the screen coordinates of the button press.

since: 1.8

clutter_click_action_get_state

Retrieves the modifier state of the click action.

since: 1.6

clutter_click_action_release

Emulates a release of the pointer button, which ungrabs the pointer and unsets the ClutterClickAction:pressed state.

since: 1.4

Methods inherited from ClutterAction (1)
clutter_action_get_phase
No description available.

Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor

Retrieves a pointer to the ClutterActor that owns meta.

since: 1.4

clutter_actor_meta_get_enabled

Retrieves whether meta is enabled.

since: 1.4

clutter_actor_meta_get_name

Retrieves the name set using clutter_actor_meta_set_name()

since: 1.4

clutter_actor_meta_set_enabled

Sets whether meta should be enabled or not.

since: 1.4

clutter_actor_meta_set_name

Sets the name of meta.

since: 1.4

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Clutter.ClickAction:held

Whether the clickable actor has the pointer grabbed.

since: 1.4

Clutter.ClickAction:long-press-duration

The minimum duration of a press for it to be recognized as a long press gesture, in milliseconds.

since: 1.8

Clutter.ClickAction:long-press-threshold

The maximum allowed distance that can be covered (on both axes) before a long press gesture is cancelled, in pixels.

since: 1.8

Clutter.ClickAction:pressed

Whether the clickable actor should be in “pressed” state.

since: 1.4

Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor

The ClutterActor attached to the ClutterActorMeta instance.

since: 1.4

Clutter.ActorMeta:enabled

Whether or not the ClutterActorMeta is enabled.

since: 1.4

Clutter.ActorMeta:name

The unique name to access the ClutterActorMeta.

since: 1.4

Signals

Clutter.ClickAction::clicked

The ::clicked signal is emitted when the ClutterActor to which a ClutterClickAction has been applied should respond to a pointer button press and release events.

since: 1.4

Clutter.ClickAction::long-press

The ::long-press signal is emitted during the long press gesture handling.

since: 1.8

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ClutterClickActionClass {
  void (* clicked) (
    ClutterClickAction* action,
    ClutterActor* actor
  );
  gboolean (* long_press) (
    ClutterClickAction* action,
    ClutterActor* actor,
    ClutterLongPressState state
  );
  void (* _clutter_click_action1) (
void
  );
  void (* _clutter_click_action2) (
void
  );
  void (* _clutter_click_action3) (
void
  );
  void (* _clutter_click_action4) (
void
  );
  void (* _clutter_click_action5) (
void
  );
  void (* _clutter_click_action6) (
void
  );
  void (* _clutter_click_action7) (
void
  );
  
}

The ClutterClickActionClass structure contains only private data.

Class members
clicked: void (* clicked) ( ClutterClickAction* action, ClutterActor* actor )
No description available.
long_press: gboolean (* long_press) ( ClutterClickAction* action, ClutterActor* actor, ClutterLongPressState state )
No description available.
_clutter_click_action1: void (* _clutter_click_action1) ( void )
No description available.
_clutter_click_action2: void (* _clutter_click_action2) ( void )
No description available.
_clutter_click_action3: void (* _clutter_click_action3) ( void )
No description available.
_clutter_click_action4: void (* _clutter_click_action4) ( void )
No description available.
_clutter_click_action5: void (* _clutter_click_action5) ( void )
No description available.
_clutter_click_action6: void (* _clutter_click_action6) ( void )
No description available.
_clutter_click_action7: void (* _clutter_click_action7) ( void )
No description available.

Virtual methods

Clutter.ClickActionClass.clicked
No description available.

Clutter.ClickActionClass.long_press
No description available.