Class
ClutterClickAction
Instance methods
clutter_click_action_get_coords
Retrieves the screen coordinates of the button press.
Available since: 1.8
clutter_click_action_get_state
Retrieves the modifier state of the click action.
Available since: 1.6
clutter_click_action_release
Emulates a release of the pointer button, which ungrabs the pointer
and unsets the ClutterClickAction:pressed
state.
Available since: 1.4
Methods inherited from ClutterAction (1)
clutter_action_get_phase
Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor
Retrieves a pointer to the ClutterActor
that owns meta
.
Available since: 1.4
clutter_actor_meta_get_enabled
Retrieves whether meta
is enabled.
Available since: 1.4
clutter_actor_meta_get_name
Retrieves the name set using clutter_actor_meta_set_name()
Available since: 1.4
clutter_actor_meta_set_enabled
Sets whether meta
should be enabled or not.
Available since: 1.4
clutter_actor_meta_set_name
Sets the name of meta
.
Available 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.
Available 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.
Available since: 1.8
Clutter.ClickAction:pressed
Whether the clickable actor should be in “pressed” state.
Available since: 1.4
Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor
The ClutterActor
attached to the ClutterActorMeta
instance.
Available since: 1.4
Clutter.ActorMeta:enabled
Whether or not the ClutterActorMeta
is enabled.
Available since: 1.4
Clutter.ActorMeta:name
The unique name to access the ClutterActorMeta
.
Available 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.
Available since: 1.4
Clutter.ClickAction::long-press
The ::long-press signal is emitted during the long press gesture handling.
Available since: 1.8
Signals inherited from GObject (1)
GObject.Object::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
);
}
Class members
clicked |
|
No description available. | |
long_press |
|
No description available. | |
_clutter_click_action1 |
|
No description available. | |
_clutter_click_action2 |
|
No description available. | |
_clutter_click_action3 |
|
No description available. | |
_clutter_click_action4 |
|
No description available. | |
_clutter_click_action5 |
|
No description available. | |
_clutter_click_action6 |
|
No description available. | |
_clutter_click_action7 |
|
No description available. |