Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
clutter-1.0
Clutter
DeviceManager
backend
get_default
DeviceManager
add_device
get_core_device
get_device
get_devices
list_devices
peek_devices
remove_device
device_added
device_removed
DeviceManager
Object Hierarchy:
Description:
public
abstract
class
DeviceManager
:
Object
The
DeviceManager
structure contains only private data
Namespace:
Clutter
Package:
clutter-1.0
Content:
Properties:
public
Backend
backend
{
construct
set
;
owned
get
; }
Static methods:
public
static
weak
DeviceManager
get_default
()
Retrieves the device manager singleton
Creation methods:
protected
DeviceManager
()
Methods:
public
virtual
void
add_device
(
InputDevice
device)
public
virtual
weak
InputDevice
get_core_device
(
InputDeviceType
device_type)
Retrieves the core
InputDevice
of type
device_type
public
virtual
weak
InputDevice
get_device
(
int
device_id)
Retrieves the
InputDevice
with the given
device_id
public
virtual
unowned
SList
<
InputDevice
>
get_devices
()
public
SList
<
weak
InputDevice
>
list_devices
()
Lists all currently registered input devices
public
unowned
SList
<
InputDevice
>
peek_devices
()
Lists all currently registered input devices
public
virtual
void
remove_device
(
InputDevice
device)
Signals:
public
void
device_added
(
InputDevice
device)
The
device_added
signal is emitted each time a device has been added to the
DeviceManager
public
void
device_removed
(
InputDevice
device)
The
device_removed
signal is emitted each time a device has been removed from the
DeviceManager