Struct
ClutterEvent
since: 13
Functions
clutter_event_add_filter
Adds a function which will be called for all events that Clutter processes. The function will be called before any signals are emitted for the event and it will take precedence over any grabs.
since: 13
clutter_event_get
Pops an event off the event queue. Applications should not need to call this.
since: 13
clutter_event_remove_filter
Removes an event filter that was previously added with clutter_event_add_filter().
since: 13
Instance methods
clutter_event_get_device
Retrieves the ClutterInputDevice
for the event.
If you want the physical device the event originated from, use clutter_event_get_source_device().
since: 13
clutter_event_get_distance
Retrieves the distance between two events, a source
and a target
.
since: 13
clutter_event_get_gesture_motion_delta
Returns the gesture motion deltas relative to the current pointer position.4
since: 13
clutter_event_get_gesture_motion_delta_unaccelerated
Returns the unaccelerated gesture motion deltas relative to the current pointer position. Unlike clutter_event_get_gesture_motion_delta(), pointer acceleration is ignored.
since: 13
clutter_event_get_gesture_phase
Returns the phase of the event, See ClutterTouchpadGesturePhase
.
since: 13
clutter_event_get_gesture_pinch_angle_delta
Returns the angle delta reported by this specific event.
since: 13
clutter_event_get_gesture_pinch_scale
Returns the current scale as reported by event
, 1.0 being the original
distance at the time the corresponding event with phase
CLUTTER_TOUCHPAD_GESTURE_PHASE_BEGIN
is received.
is received.
since: 13
clutter_event_get_scroll_finish_flags
Returns the ClutterScrollFinishFlags
of an scroll event. Those
can be used to determine whether post-scroll effects like kinetic
scrolling should be applied.
since: 13
clutter_event_get_scroll_source
Returns the ClutterScrollSource
that applies to an scroll event.
since: 13
clutter_event_get_source
Retrieves the source ClutterActor
the event originated from, or
NULL if the event has no source.
since: 13
clutter_event_get_state
Retrieves the modifier state of the event. In case the window system supports reporting latched and locked modifiers, this function returns the effective state.
since: 13
clutter_event_get_touchpad_gesture_finger_count
Returns the number of fingers that is triggering the touchpad gesture.
since: 13
clutter_event_has_control_modifier
Checks whether event
has the Control modifier mask set.
since: 13
clutter_event_is_pointer_emulated
Checks whether a pointer event
has been generated by the windowing
system. The returned value can be used to distinguish between events
synthesized by the windowing system itself (as opposed by Clutter).
since: 13
clutter_event_put
Puts a copy of the event on the back of the event queue. The event will
have the CLUTTER_EVENT_FLAG_SYNTHETIC
flag set. If the source is set
event signals will be emitted for this source and capture/bubbling for
its ancestors. If the source is not set it will be generated by picking
or use the actor that currently has keyboard focus.
since: 13