Next: GL Features, Previous: ClutterEntry, Up: Top
User and window system events
Windowing events handled by Clutter.
<clutter-event-type>) (ret <clutter-event>)Creates a new
<clutter-event>of the specified type.
- type
- The type of event.
- ret
- A newly allocated
<clutter-event>.
<clutter-event>) (ret <clutter-event-type>)Retrieves the type of the event.
- event
- a
<clutter-event>- ret
- a
<clutter-event-type>
<clutter-event>) (x int) (y int)Retrieves the coordinates of event and puts them into x and y.
- event
- a
<clutter-event>- x
- return location for the X coordinate
- y
- return location for the Y coordinate
Since 0.4
<clutter-event>) (ret <clutter-modifier-type>)Retrieves the modifier state of the event.
- event
- a
<clutter-event>- ret
- the modifier state parameter, or 0
Since 0.4
<clutter-event>) (ret unsigned-int32)Retrieves the time of the event.
- event
- a
<clutter-event>- ret
- the time of the event, or ‘CLUTTER_CURRENT_TIME’
Since 0.4
<clutter-event>) (ret <clutter-actor>)Retrieves the source
<clutter-actor>the event originated from, or NULL if the event has no source.
- event
- a
<clutter-event>- ret
- a
<clutter-actor>Since 0.6
<clutter-event>) (ret <clutter-stage>)Retrieves the source
<clutter-stage>the event originated for, or NULL if the event has no stage.
- event
- a
<clutter-event>- ret
- a
<clutter-stage>Since 0.8
<clutter-event>)Pops an event off the event queue. Applications should not need to call this.
- ret
- A
<clutter-event>or NULL if queue emptySince 0.4
<clutter-event>)Returns a pointer to the first event from the event queue but does not remove it.
- ret
- A
<clutter-event>or NULL if queue empty.Since 0.4
<clutter-event>)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 it's ancestors. If the source is not set it will be generated by picking or use the actor that currently has keyboard focus.
- event
- a
<clutter-event>Since 0.6
bool)Checks if events are pending in the event queue.
- ret
- TRUE if there are pending events, FALSE otherwise.
Since 0.4
<clutter-button-event>) (ret unsigned-int32)Retrieve the button number of the event.
- buttev
- a
<clutter-button-event>- ret
- the button number.
Since 0.4
<clutter-key-event>) (ret unsigned-int)Retrieves the value of the key that caused keyev.
- keyev
- A
<clutter-key-event>- ret
- The keysym representing the key
<clutter-key-event>) (ret unsigned-int16)Retrieves the keycode of the key that caused keyev.
- keyev
- A
<clutter-key-event>- ret
- The keycode representing the key
<clutter-key-event>) (ret unsigned-int32)Retrieves the unicode value for the key that caused keyev.
- keyev
- A
<clutter-key-event>- ret
- The unicode value representing the key