Class

ClutterInputDevice

Description [src]

final class Clutter.InputDevice : GObject.Object {
  /* No available fields */
}

Generic representation of an input device. The actual contents of this structure depend on the backend used.

Ancestors

Instance methods

clutter_input_device_get_device_mode

Retrieves the ClutterInputMode of device.

Available since: 1.6

clutter_input_device_get_device_name

Retrieves the name of the device.

Available since: 1.2

clutter_input_device_get_device_node
No description available.
clutter_input_device_get_device_type

Retrieves the type of device.

Available since: 1.0

clutter_input_device_get_group_n_modes
No description available.
clutter_input_device_get_has_cursor

Retrieves whether device has a pointer that follows the device motion.

Available since: 1.6

clutter_input_device_get_n_buttons
No description available.
clutter_input_device_get_n_mode_groups
No description available.
clutter_input_device_get_n_rings
No description available.
clutter_input_device_get_n_strips
No description available.
clutter_input_device_get_pad_feature_group
No description available.
clutter_input_device_get_product_id

Gets the product ID of this device.

Available since: 1.22

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.

Available since: 1.22

clutter_input_device_is_grouped
No description available.
clutter_input_device_is_mode_switch_button
No description available.
Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Clutter.InputDevice:backend

The ClutterBackend that created the device.

Available since: 1.6

Clutter.InputDevice:device-mode
No description available.
Clutter.InputDevice:device-node
No description available.
Clutter.InputDevice:device-type

The type of the device.

Available since: 1.2

Clutter.InputDevice:has-cursor

Whether the device has an on screen cursor following its movement.

Available since: 1.6

Clutter.InputDevice:n-buttons
No description available.
Clutter.InputDevice:n-mode-groups
No description available.
Clutter.InputDevice:n-rings
No description available.
Clutter.InputDevice:n-strips
No description available.
Clutter.InputDevice:name

The name of the device.

Available since: 1.2

Clutter.InputDevice:product-id

Product ID of this device.

Available since: 1.22

Clutter.InputDevice:seat

The ClutterSeat instance which owns the device.

Clutter.InputDevice:vendor-id

Vendor ID of this device.

Available since: 1.22

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
GObjectClass
  No description available.
is_mode_switch_button
gboolean (* is_mode_switch_button) (
    ClutterInputDevice* device,
    guint group,
    guint button
  )
  No description available.
get_group_n_modes
gint (* get_group_n_modes) (
    ClutterInputDevice* device,
    gint group
  )
  No description available.
is_grouped
gboolean (* is_grouped) (
    ClutterInputDevice* device,
    ClutterInputDevice* other_device
  )
  No description available.
get_pad_feature_group
int (* get_pad_feature_group) (
    ClutterInputDevice* device,
    ClutterInputDevicePadFeature feature,
    int n_feature
  )
  No description available.

Virtual methods