Class
ClutterInputDevice
Description [src]
final class Clutter.InputDevice : GObject.Object {
/* No available fields */
}
An input device managed by Clutter
ClutterInputDevice
represents an input device known to Clutter.
The ClutterInputDevice
class holds the state of the device, but
its contents are usually defined by the Clutter backend in use.
Instance methods
clutter_input_device_get_capabilities
Retrieves the capabilities of device
.
clutter_input_device_get_device_mode
Retrieves the ClutterInputMode
of device
.
clutter_input_device_get_device_name
Retrieves the name of the device
.
clutter_input_device_get_device_node
clutter_input_device_get_device_type
Retrieves the type of device
.
clutter_input_device_get_group_n_modes
clutter_input_device_get_has_cursor
Retrieves whether device
has a pointer that follows the
device motion.
clutter_input_device_get_mode_switch_button_group
clutter_input_device_get_n_buttons
clutter_input_device_get_n_mode_groups
clutter_input_device_get_n_rings
clutter_input_device_get_n_strips
clutter_input_device_get_pad_feature_group
clutter_input_device_get_product_id
Gets the product ID of this device.
clutter_input_device_get_seat
Returns the seat the device belongs to.
clutter_input_device_get_vendor_id
Gets the vendor ID of this device.
clutter_input_device_is_grouped
clutter_input_device_is_mode_switch_button
Properties
Clutter.InputDevice:backend
The ClutterBackend
that created the device.
Clutter.InputDevice:capabilities
The capabilities of the device.
Clutter.InputDevice:device-mode
Clutter.InputDevice:device-node
Clutter.InputDevice:device-type
The type of the device.
Clutter.InputDevice:has-cursor
Whether the device has an on screen cursor following its movement.
Clutter.InputDevice:n-buttons
Clutter.InputDevice:n-mode-groups
Clutter.InputDevice:n-rings
Clutter.InputDevice:n-strips
Clutter.InputDevice:name
The name of the device.
Clutter.InputDevice:product-id
Product ID of this device.2
Clutter.InputDevice:seat
The ClutterSeat
instance which owns the device.
Clutter.InputDevice:vendor-id
Vendor ID of this device.2
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct ClutterInputDeviceClass {
GObjectClass parent_class;
gboolean (* is_mode_switch_button) (
ClutterInputDevice* device,
guint group,
guint button
);
gint (* get_group_n_modes) (
ClutterInputDevice* device,
gint group
);
gboolean (* is_grouped) (
ClutterInputDevice* device,
ClutterInputDevice* other_device
);
int (* get_pad_feature_group) (
ClutterInputDevice* device,
ClutterInputDevicePadFeature feature,
int n_feature
);
}
Class members
parent_class |
|
No description available. | |
is_mode_switch_button |
|
No description available. | |
get_group_n_modes |
|
No description available. | |
is_grouped |
|
No description available. | |
get_pad_feature_group |
|
No description available. |