SeatImpl
Constructors
Functions
Link copied to clipboard
Emits the "device-added" signal. See onDeviceAdded.
Link copied to clipboard
Emits the "device-removed" signal. See onDeviceRemoved.
Link copied to clipboard
Emits the "tool-added" signal. See onToolAdded.
Link copied to clipboard
Emits the "tool-removed" signal. See onToolRemoved.
Link copied to clipboard
Returns the capabilities this GdkSeat
currently has.
Link copied to clipboard
Returns the devices that match the given capabilities.
Link copied to clipboard
Returns the device that routes keyboard events.
Link copied to clipboard
Returns the device that routes pointer events.
Link copied to clipboard
fun onDeviceAdded(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (device: Device) -> Unit): <Error class: unknown class>
Emitted when a new input device is related to this seat.
Link copied to clipboard
fun onDeviceRemoved(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (device: Device) -> Unit): <Error class: unknown class>
Emitted when an input device is removed (e.g. unplugged).
Link copied to clipboard
fun onToolAdded(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (tool: DeviceTool) -> Unit): <Error class: unknown class>
Emitted whenever a new tool is made known to the seat.
Link copied to clipboard
fun onToolRemoved(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (tool: DeviceTool) -> Unit): <Error class: unknown class>
Emitted whenever a tool is no longer known to this @seat.