Class
ClutterClickAction
Instance methods
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)
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
Properties
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
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.