DeviceImpl
The DeviceImpl type represents a native instance of the abstract Device class.
Constructors
Properties
Link copied to clipboard
Whether Caps Lock is on.
Link copied to clipboard
Link copied to clipboard
The current modifier state of the device.
Link copied to clipboard
Whether Num Lock is on.
Link copied to clipboard
The maximal number of concurrent touches on a touch device.
Link copied to clipboard
Whether Scroll Lock is on.
Link copied to clipboard
Source type for the device.
Link copied to clipboard
The GdkDeviceTool
that is currently used with this device.
Functions
Link copied to clipboard
Emits the "changed" signal. See onChanged.
Link copied to clipboard
Emits the "tool-changed" signal. See onToolChanged.
Link copied to clipboard
Returns the timestamp of the last activity for this device.
Link copied to clipboard
Determines if layouts for both right-to-left and left-to-right languages are in use on the keyboard.
Link copied to clipboard
fun onToolChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (tool: DeviceTool) -> Unit): <Error class: unknown class>
Emitted on pen/eraser devices whenever tools enter or leave proximity.