Class

GdkSeat

Description [src]

abstract class Gdk.Seat : GObject.Object {
  parent_instance: GObject
}

The GdkSeat object represents a collection of input devices that belong to a user.

Hierarchy

hierarchy this GdkSeat ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

gdk_seat_get_capabilities

Returns the capabilities this GdkSeat currently has.

Available since: 3.20

gdk_seat_get_display

Returns the GdkDisplay this seat belongs to.

gdk_seat_get_keyboard

Returns the master device that routes keyboard events.

Available since: 3.20

gdk_seat_get_pointer

Returns the master device that routes pointer events.

Available since: 3.20

gdk_seat_get_slaves

Returns the slave devices that match the given capabilities.

Available since: 3.20

gdk_seat_grab

Grabs the seat so that all events corresponding to the given capabilities are passed to this application until the seat is ungrabbed with gdk_seat_ungrab(), or the window becomes hidden. This overrides any previous grab on the seat by this client.

Available since: 3.20

gdk_seat_ungrab

Releases a grab added through gdk_seat_grab().

Available since: 3.20

Methods inherited from GObject (42)

Properties

Gdk.Seat:display

GdkDisplay of this seat.

Available since: 3.20

Signals

Gdk.Seat::device-added

The ::device-added signal is emitted when a new input device is related to this seat.

Available since: 3.20

Gdk.Seat::device-removed

The ::device-removed signal is emitted when an input device is removed (e.g. unplugged).

Available since: 3.20

Gdk.Seat::tool-added

The ::tool-added signal is emitted whenever a new tool is made known to the seat. The tool may later be assigned to a device (i.e. on proximity with a tablet). The device will emit the GdkDevice::tool-changed signal accordingly.

Available since: 3.22

Gdk.Seat::tool-removed

This signal is emitted whenever a tool is no longer known to this seat.

Available since: 3.22

Signals inherited from GObject (1)