gdk.device_tool
Module for [DeviceTool] class
Types 3
Methods
DeviceToolGidBuilder builder() static nothrowGet builder for [gdk.device_tool.DeviceTool] Returns: New builder objectulong getHardwareId() nothrowGets the hardware ID of this tool, or 0 if it's not known. When non-zero, the identificator is unique for the given tool model, meaning that two identical tools will share the same hardware_id, but...ulong getSerial() nothrowGets the serial of this tool, this value can be used to identify a physical tool (eg. a tablet pen) across program executions. Returns: The serial ID for this toolgdk.types.DeviceToolType getToolType() nothrowGets the #GdkDeviceToolType of the tool. Returns: The physical type for this tool. This can be used to figure out what sort of pen is being used, such as an airbrush or a pencil.Fluent builder implementation template for gdk.device_tool.DeviceTool
Methods
T axes(gdk.types.AxisFlags propval) nothrowT hardwareId(ulong propval) nothrowT serial(ulong propval) nothrowT toolType(gdk.types.DeviceToolType propval) nothrowFluent builder for gdk.device_tool.DeviceTool
Methods