Frees all resources used by event
.
Retrieves the array of axes values attached to the event.
Retrieves the button number of event
Retrieves the number of clicks of event
Retrieves the coordinates of event
and puts them into x
and y
.
Retrieves the #ClutterInputDevice for the event. If you want the physical device the event originated from, use clutter_event_get_source_device().
The #ClutterInputDevice structure is completely opaque and should be cast to the platform-specific implementation.
Retrieves the events device id if set.
Retrieves the type of the device for event
Retrieves the #ClutterEventSequence of event
.
Retrieves the #ClutterEventFlags of event
Returns the gesture motion deltas relative to the current pointer position.
Returns the phase of the event, See #ClutterTouchpadGesturePhase.
Returns the angle delta reported by this specific event.
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.
Returns the number of fingers that is triggering the touchpad gesture.
Retrieves the keycode of the key that caused event
Retrieves the key symbol of event
Retrieves the unicode value for the key that caused keyev
.
Retrieves the precise scrolling information of event
.
The event
has to have a #ClutterScrollEvent.direction value
of %CLUTTER_SCROLL_SMOOTH.
Retrieves the direction of the scrolling of event
Returns the #ClutterScrollFinishFlags of an scroll event. Those can be used to determine whether post-scroll effects like kinetic scrolling should be applied.
Returns the #ClutterScrollSource that applies to an scroll event.
Retrieves the hardware device that originated the event.
If you need the virtual device, use clutter_event_get_device().
If no hardware device originated this event, this function will return the same device as clutter_event_get_device().
Retrieves the modifier state of the event. In case the window system supports reporting latched and locked modifiers, this function returns the effective state.
Retrieves the decomposition of the keyboard state into button, base, latched, locked and effective. This can be used to transmit to other applications, for example when implementing a wayland compositor.
Retrieves the time of the event.
Checks whether event
has the Control modifier mask set.
Checks whether event
has the Shift modifier mask set.
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).
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
Sets the button number of event
the button number
Sets the coordinates of the event
.
the X coordinate of the event
the Y coordinate of the event
Sets the device for event
.
a #ClutterInputDevice, or %NULL
Sets the #ClutterEventFlags of event
a binary OR of #ClutterEventFlags values
Sets the keycode of the event
.
the keycode representing the key
Sets the key symbol of event
.
the key symbol representing the key
Sets the Unicode value of event
.
the Unicode value representing the key
Sets the precise scrolling information of event
.
delta on the horizontal axis
delta on the vertical axis
Sets the direction of the scrolling of event
the scrolling direction
Sets the source #ClutterInputDevice for event
.
The #ClutterEvent must have been created using clutter_event_new().
a #ClutterInputDevice
Sets the modifier state of the event.
the modifier state to set
Sets the time of the event.
the time of the event
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.
The #ClutterStage to capture events for
The callback function which will be passed all events.
Removes an event filter that was previously added with clutter_event_add_filter().
The ID of the event filter, as returned from clutter_event_add_filter()
Generic event wrapper.