Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterEvent |
Union : | Event |
Properties | Defined By | |
---|---|---|
any : Clutter.AnyEvent
read only
|
Clutter.Event | |
button : Clutter.ButtonEvent
read only
|
Clutter.Event | |
crossing : Clutter.CrossingEvent
read only
|
Clutter.Event | |
key : Clutter.KeyEvent
read only
|
Clutter.Event | |
motion : Clutter.MotionEvent
read only
|
Clutter.Event | |
scroll : Clutter.ScrollEvent
read only
|
Clutter.Event | |
stage_state : Clutter.StageStateEvent
read only
|
Clutter.Event | |
type : Clutter.EventType
read only
|
Clutter.Event |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Event
()
Create a new Clutter.Event
Create a new Clutter.Event
|
||
Create a new Clutter.Event
Create a new Clutter.Event
|
||
copy
()
:
Clutter.Event
Copies event.
Copies event.
|
Clutter.Event | |
free
()
:
none
Frees all resources used by event.
Frees all resources used by event.
|
Clutter.Event | |
Clutter.Event | ||
get_button
()
:
guint32
Retrieves the button number of event
Retrieves the button number of event
|
Clutter.Event | |
get_click_count
()
:
guint32
Retrieves the number of clicks of event
Retrieves the number of clicks of event
|
Clutter.Event | |
get_coords
()
:
Object
|
Clutter.Event | |
get_device
()
:
Clutter.InputDevice
Retrieves the ClutterInputDevice for the event.
Retrieves the ClutterInputDevice for the event.
The ClutterInputDevice structure is completely opaque and should be cast to the platform-specific implementation.
|
Clutter.Event | |
get_device_id
()
:
gint32
Retrieves the events device id if set.
Retrieves the events device id if set.
no specific device set.
|
Clutter.Event | |
get_device_type
()
:
Clutter.InputDeviceType
Retrieves the type of the device for event
any is set
Retrieves the type of the device for event
any is set
|
Clutter.Event | |
get_flags
()
:
Clutter.EventFlags
Retrieves the ClutterEventFlags of event
Retrieves the ClutterEventFlags of event
|
Clutter.Event | |
get_key_code
()
:
guint16
Retrieves the keycode of the key that caused event
Retrieves the keycode of the key that caused event
|
Clutter.Event | |
get_key_symbol
()
:
guint32
Retrieves the key symbol of event
Retrieves the key symbol of event
|
Clutter.Event | |
get_key_unicode
()
:
guint32
Retrieves the unicode value for the key that caused keyev.
Retrieves the unicode value for the key that caused keyev.
|
Clutter.Event | |
get_related
()
:
Clutter.Actor
Retrieves the related actor of a crossing event.
Retrieves the related actor of a crossing event.
|
Clutter.Event | |
get_scroll_direction
()
:
Clutter.ScrollDirection
Retrieves the direction of the scrolling of event
Retrieves the direction of the scrolling of event
|
Clutter.Event | |
get_source
()
:
Clutter.Actor
Retrieves the source ClutterActor the event originated from, or
NULL if the event has no source.
Retrieves the source ClutterActor the event originated from, or
NULL if the event has no source.
|
Clutter.Event | |
get_source_device
()
:
Clutter.InputDevice
|
Clutter.Event | |
get_stage
()
:
Clutter.Stage
Retrieves the source ClutterStage the event originated for, or
NULL if the event has no stage.
Retrieves the source ClutterStage the event originated for, or
NULL if the event has no stage.
|
Clutter.Event | |
get_state
()
:
Clutter.ModifierType
Retrieves the modifier state of the event.
Retrieves the modifier state of the event.
|
Clutter.Event | |
get_time
()
:
guint32
Retrieves the time of the event.
Retrieves the time of the event.
|
Clutter.Event | |
put
()
:
none
Puts a copy of the event on the back of the event queue.
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
|
Clutter.Event | |
set_device
(InputDevice device)
:
none
|
Clutter.Event | |
type
()
:
Clutter.EventType
Retrieves the type of the event.
Retrieves the type of the event.
|
Clutter.Event |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Champlain.Marker
Signal |
|
Champlain.Marker
Signal |
|
Champlain.Marker
Signal |
|
Champlain.Marker
Signal |
|
Clutter
Method |
Clutter.do_event
(Event event)
:
none
|
Clutter
Method |
Clutter.event_get
()
:
Clutter.Event
Pops an event off the event queue.
|
Clutter
Method |
Clutter.event_peek
()
:
Clutter.Event
Returns a pointer to the first event from the event queue but
does not remove it. |
Clutter
Method |
Clutter.get_current_event
()
:
Clutter.Event
If an event is currently being processed, return that event.
|
Clutter.Actor
Signal |
The ::button-press-event signal is emitted each time a mouse button
is pressed on actor. |
Clutter.Actor
Signal |
The ::button-release-event signal is emitted each time a mouse button
is released on actor. |
Clutter.Actor
Signal |
The ::captured-event signal is emitted when an event is captured
by Clutter. |
Clutter.Actor
Signal |
The ::enter-event signal is emitted when the pointer enters the actor
or FALSE to continue the emission. |
Clutter.Actor
Signal |
The ::event signal is emitted each time an event is received
by the actor. |
Clutter.Actor
Signal |
The ::key-press-event signal is emitted each time a keyboard button
is pressed while actor has key focus (see clutter_stage_set_key_focus()). |
Clutter.Actor
Signal |
The ::key-release-event signal is emitted each time a keyboard button
is released while actor has key focus (see clutter_stage_set_key_focus()). |
Clutter.Actor
Signal |
The ::leave-event signal is emitted when the pointer leaves the actor.
|
Clutter.Actor
Signal |
The ::motion-event signal is emitted each time the mouse pointer is
moved over actor. |
Clutter.Actor
Signal |
The ::scroll-event signal is emitted each time the mouse is
scrolled on actor or FALSE to continue the emission. |
Clutter.Actor
Method |
This function is used to emit an event on the main stage.
|
Clutter.InputDevice
Method |
Forcibly updates the state of the device using a ClutterEvent
for integration with embedding toolkits, like clutter-gtk Embedding toolkits that disable the event collection inside Clutter need to use this function to update the state of input devices depending on a ClutterEvent that they are going to submit to the event handling code in Clutter though clutter_do_event(). |
Clutter.Stage
Signal |
The ::delete-event signal is emitted when the user closes a
ClutterStage window using the window controls. |
Clutter.Stage
Method |
This function is used to emit an event on the main stage.
|
ClutterX11
Method |
|