gdk.device_tool

Module for [DeviceTool] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DeviceTool self() nothrowReturns `this`, for use in `with` statements.
DeviceToolGidBuilder builder() static nothrowGet builder for [gdk.device_tool.DeviceTool] Returns: New builder object
gdk.types.AxisFlags axes() @property nothrow
ulong hardwareId() @property nothrow
ulong serial() @property nothrow
ulong 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 tool
gdk.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.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gdk.device_tool.DeviceTool

Methods
T axes(gdk.types.AxisFlags propval) nothrow
T hardwareId(ulong propval) nothrow
T serial(ulong propval) nothrow

Fluent builder for gdk.device_tool.DeviceTool

Methods
DeviceTool build() nothrowCreate object from builder. Returns: New object