package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gdk/Ocgtk_gdk/Gdk/Wrappers/Device_tool/index.html
Module Wrappers.Device_tool
type t = [ `device_tool | `object_ ] Gobject.objval get_tool_type : t -> Gdk_enums.devicetooltypeGets the `GdkDeviceToolType` of the tool.
Gets the serial number of this tool.
This value can be used to identify a physical tool (eg. a tablet pen) across program executions.
Gets the hardware ID of this tool, or 0 if it's not known.
When non-zero, the identifier is unique for the given tool model, meaning that two identical tools will share the same @hardware_id, but will have different serial numbers (see method@Gdk.DeviceTool.get_serial).
This is a more concrete (and device specific) method to identify a `GdkDeviceTool` than method@Gdk.DeviceTool.get_tool_type, as a tablet may support multiple devices with the same `GdkDeviceToolType`, but different hardware identifiers.
val get_axes : t -> Gdk_enums.axisflagsGets the axes of the tool.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>