Seat#
Superclasses: Object
The GdkSeat object represents a collection of input devices
that belong to a user.
Methods#
- class Seat
- get_capabilities() SeatCapabilities#
Returns the capabilities this
GdkSeatcurrently has.
- get_devices(capabilities: SeatCapabilities) list[Device]#
Returns the devices that match the given capabilities.
- Parameters:
capabilities – capabilities to get devices for
- get_tools() list[DeviceTool]#
Returns all
GdkDeviceToolsthat are known to the application.
Properties#
Signals#
- class Seat.signals
- device_added(device: Device) None#
The type of the None singleton.
- Parameters:
device – the newly added
GdkDevice.
- device_removed(device: Device) None#
The type of the None singleton.
- Parameters:
device – the just removed
GdkDevice.
- tool_added(tool: DeviceTool) None#
The type of the None singleton.
- Parameters:
tool – the new
GdkDeviceToolknown to the seat
- tool_removed(tool: DeviceTool) None#
The type of the None singleton.
- Parameters:
tool – the just removed
GdkDeviceTool
Fields#
- class Seat
- parent_instance#