Class

GdkSeat

Description [src]

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

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.

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.

since: 3.20

gdk_seat_get_pointer

Returns the master device that routes pointer events.

since: 3.20

gdk_seat_get_slaves

Returns the slave devices that match the given capabilities.

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.

since: 3.20

gdk_seat_ungrab

Releases a grab added through gdk_seat_grab().

since: 3.20

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gdk.Seat:display

GdkDisplay of this seat.

since: 3.20

Signals

Gdk.Seat::device-added

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

since: 3.20

Gdk.Seat::device-removed

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

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.

since: 3.22

Gdk.Seat::tool-removed

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

since: 3.22

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.