Maintains the list of input devices
<clutter-device-manager>
is a singleton object, owned by Clutter,
which maintains the list of <clutter-input-device>
s.
Depending on the backend used by Clutter it is possible to use the
<"device-added">
and <"device-removed">
to monitor
addition and removal of devices.
<clutter-device-manager>
is available since Clutter 1.2
<clutter-device-manager>
) ⇒ (ret gslist-of
)Lists all currently registered input devices
- device-manager
- a
<clutter-device-manager>
- ret
- a newly allocated list of
<clutter-input-device>
objects. Useg-slist-free
to deallocate it when done.Since 1.2
<clutter-device-manager>
) ⇒ (ret gslist-of
)Lists all currently registered input devices
- device-manager
- a
<clutter-device-manager>
- ret
- a pointer to the internal list of
<clutter-input-device>
objects. The returned list is owned by the<clutter-device-manager>
and should never be modified or freed.Since 1.2
<clutter-device-manager>
) (device_id int
) ⇒ (ret <clutter-input-device*>
)Retrieves the
<clutter-input-device>
with the given device-id
- device-manager
- a
<clutter-device-manager>
- device-id
- the integer id of a device
- ret
- a
<clutter-input-device>
or ‘#f
’. The returned device is owned by the<clutter-device-manager>
and should never be modified or freed.Since 1.2