Clutter.Seat
Description: Reference for Clutter.Seat

### Class

# ClutterSeat

#### Description

    abstract class Clutter.Seat : GObject.Object
    {
      /* No available fields */
    }

No description available.

#### Ancestors

- GObject

#### Instance methods

###### clutter_seat_bell_notify

No description available.

###### clutter_seat_create_virtual_device

Creates a virtual input device.

###### clutter_seat_ensure_a11y_state

No description available.

###### clutter_seat_get_context

No description available.

###### clutter_seat_get_keyboard

Returns the logical keyboard.

###### clutter_seat_get_keymap

Returns the seat keymap.

###### clutter_seat_get_name

No description available.

###### clutter_seat_get_pointer

Returns the logical pointer.

###### clutter_seat_get_pointer_a11y_settings

Gets the current pointer accessibility settings.

###### clutter_seat_get_supported_virtual_device_types

No description available.

###### clutter_seat_get_touch_mode

Gets the current touch-mode state of the `ClutterSeat` `seat`. The `ClutterSeat:touch-mode` property is set to `TRUE` if the following requirements are fulfilled:.

###### clutter_seat_has_touchscreen

No description available.

###### clutter_seat_inhibit_unfocus

Inhibits unsetting of the pointer focus-surface for the `ClutterSeat` `seat`, this allows to keep using the pointer even when it’s hidden.

###### clutter_seat_is_unfocus_inhibited

Gets whether unsetting of the pointer focus-surface is inhibited for the `ClutterSeat` `seat`.

###### clutter_seat_list_devices

Returns the list of HW devices.

###### clutter_seat_peek_devices

No description available.

###### clutter_seat_query_state

No description available.

###### clutter_seat_set_pointer_a11y_dwell_click_type

Sets the dwell click type.

###### clutter_seat_set_pointer_a11y_settings

Sets the pointer accessibility settings.

###### clutter_seat_uninhibit_unfocus

Disables the inhibiting of unsetting of the pointer focus-surface previously enabled by calling `clutter_seat_inhibit_unfocus()`.

###### clutter_seat_warp_pointer

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Clutter.Seat:context

No description available.

###### Clutter.Seat:name

No description available.

###### Clutter.Seat:touch-mode

The current touch-mode of the `ClutterSeat`, it is set to `TRUE` if the requirements documented in `clutter_seat_get_touch_mode()` are fulfilled.

#### Signals

###### Clutter.Seat::device-added

No description available.

###### Clutter.Seat::device-removed

No description available.

###### Clutter.Seat::is-unfocus-inhibited-changed

The signal is emitted when the property to inhibit the unsetting of the focus-surface of the `ClutterSeat` changed.

###### Clutter.Seat::kbd-a11y-flags-changed

The signal is emitted each time the ClutterKeyboardA11yFlags configuration is changed as the result of keyboard accessibility operations.

###### Clutter.Seat::kbd-a11y-mods-state-changed

The signal is emitted each time either the latched modifiers mask or locked modifiers mask are changed as the result of keyboard accessibility’s sticky keys operations.

###### Clutter.Seat::ptr-a11y-dwell-click-type-changed

The signal is emitted each time the ClutterPointerA11yDwellClickType mode is changed as the result of pointer accessibility operations.

###### Clutter.Seat::ptr-a11y-timeout-started

The signal is emitted when a pointer accessibility timeout delay is started, so that upper layers can notify the user with some visual feedback.

###### Clutter.Seat::ptr-a11y-timeout-stopped

The signal is emitted when a running pointer accessibility timeout delay is stopped, either because it’s triggered at the end of the delay or cancelled, so that upper layers can notify the user with some visual feedback.

##### Signals inherited from GObject (1)

###### GObject::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 ClutterSeatClass {
      GObjectClass parent_class;
      ClutterInputDevice* (* get_pointer) (
        ClutterSeat* seat
      );
      ClutterInputDevice* (* get_keyboard) (
        ClutterSeat* seat
      );
      const GList* (* peek_devices) (
        ClutterSeat* seat
      );
      void (* bell_notify) (
        ClutterSeat* seat
      );
      ClutterKeymap* (* get_keymap) (
        ClutterSeat* seat
      );
      gboolean (* handle_event_post) (
        ClutterSeat* seat,
        const ClutterEvent* event
      );
      void (* warp_pointer) (
        ClutterSeat* seat,
        int x,
        int y
      );
      void (* init_pointer_position) (
        ClutterSeat* seat,
        float x,
        float y
      );
      gboolean (* query_state) (
        ClutterSeat* seat,
        ClutterInputDevice* device,
        ClutterEventSequence* sequence,
        graphene_point_t* coords,
        ClutterModifierType* modifiers
      );
      ClutterGrabState (* grab) (
        ClutterSeat* seat,
        uint32_t time
      );
      void (* ungrab) (
        ClutterSeat* seat,
        uint32_t time
      );
      ClutterVirtualInputDevice* (* create_virtual_device) (
        ClutterSeat* seat,
        ClutterInputDeviceType device_type
      );
      ClutterVirtualDeviceType (* get_supported_virtual_device_types) (
        ClutterSeat* seat
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.

`get_pointer: ClutterInputDevice* (* get_pointer) ( ClutterSeat* seat )`

  No description available.

`get_keyboard: ClutterInputDevice* (* get_keyboard) ( ClutterSeat* seat )`

  No description available.

`peek_devices: const GList* (* peek_devices) ( ClutterSeat* seat )`

  No description available.

`bell_notify: void (* bell_notify) ( ClutterSeat* seat )`

  No description available.

`get_keymap: ClutterKeymap* (* get_keymap) ( ClutterSeat* seat )`

  No description available.

`handle_event_post: gboolean (* handle_event_post) ( ClutterSeat* seat, const ClutterEvent* event )`

  No description available.

`warp_pointer: void (* warp_pointer) ( ClutterSeat* seat, int x, int y )`

  No description available.

`init_pointer_position: void (* init_pointer_position) ( ClutterSeat* seat, float x, float y )`

  No description available.

`query_state: gboolean (* query_state) ( ClutterSeat* seat, ClutterInputDevice* device, ClutterEventSequence* sequence, graphene_point_t* coords, ClutterModifierType* modifiers )`

  No description available.

`grab: ClutterGrabState (* grab) ( ClutterSeat* seat, uint32_t time )`

  No description available.

`ungrab: void (* ungrab) ( ClutterSeat* seat, uint32_t time )`

  No description available.

`create_virtual_device: ClutterVirtualInputDevice* (* create_virtual_device) ( ClutterSeat* seat, ClutterInputDeviceType device_type )`

  No description available.

`get_supported_virtual_device_types: ClutterVirtualDeviceType (* get_supported_virtual_device_types) ( ClutterSeat* seat )`

  No description available.

#### Virtual methods

###### Clutter.SeatClass.bell_notify

No description available.

###### Clutter.SeatClass.create_virtual_device

Creates a virtual input device.

###### Clutter.SeatClass.get_keyboard

Returns the logical keyboard.

###### Clutter.SeatClass.get_keymap

Returns the seat keymap.

###### Clutter.SeatClass.get_pointer

Returns the logical pointer.

###### Clutter.SeatClass.get_supported_virtual_device_types

No description available.

###### Clutter.SeatClass.grab

No description available.

###### Clutter.SeatClass.handle_event_post

No description available.

###### Clutter.SeatClass.init_pointer_position

No description available.

###### Clutter.SeatClass.peek_devices

No description available.

###### Clutter.SeatClass.query_state

No description available.

###### Clutter.SeatClass.ungrab

No description available.

###### Clutter.SeatClass.warp_pointer

No description available.