gdk.device_tool
Module for [DeviceTool] class
Types 3
A physical tool associated to a gdk.device.Device.
Methods
DeviceToolGidBuilder builder() static nothrowGet builder for [gdk.device_tool.DeviceTool] Returns: New builder objectulong hardwareId() @property nothrowGet `hardwareId` property. Returns: The hardware ID of the tool.gdk.types.DeviceToolType toolType() @property nothrowGet `toolType` property. Returns: The type of the tool.gdk.types.DeviceToolType getToolType() nothrowGets the [gdk.types.DeviceToolType] 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) nothrowSet `axes` property. Params: propval = The axes of the tool. Returns: Builder instance for fluent chainingT hardwareId(ulong propval) nothrowSet `hardwareId` property. Params: propval = The hardware ID of the tool. Returns: Builder instance for fluent chainingT serial(ulong propval) nothrowSet `serial` property. Params: propval = The serial number of the tool. Returns: Builder instance for fluent chainingT toolType(gdk.types.DeviceToolType propval) nothrowSet `toolType` property. Params: propval = The type of the tool. Returns: Builder instance for fluent chainingFluent builder for gdk.device_tool.DeviceTool
Methods