Gdk.Seat¶
class — extends GObject.Object
Represents a collection of input devices that belong to a user.
Methods¶
get_capabilities¶
Returns the capabilities this GdkSeat currently has.
get_devices¶
Returns the devices that match the given capabilities.
Parameters:
capabilities— capabilities to get devices for
get_display¶
Returns the GdkDisplay this seat belongs to.
get_keyboard¶
Returns the device that routes keyboard events.
get_pointer¶
Returns the device that routes pointer events.
get_tools¶
Returns all GdkDeviceTools that are known to the application.
Properties¶
display¶
GdkDisplay of this seat.
Signals¶
device-added¶
Emitted when a new input device is related to this seat.
device-removed¶
Emitted when an input device is removed (e.g. unplugged).
tool-added¶
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
Device.tool-changed signal accordingly.
A same tool may be used by several devices.
tool-removed¶
Emitted whenever a tool is no longer known to this seat.