Function

PhocTabletToolnew

Declaration [src]

PhocTabletTool*
phoc_tablet_tool_new (
  wlr_tablet_tool* wlr_tool,
  PhocSeat* seat
)

Description [src]

Build new tablet tool.

This function is not directly available to language bindings.

Parameters

wlr_tool

Type: wlr_tablet_tool*

The wlr tablet tool.

The argument can be NULL.
The data is owned by the caller of the function.
seat

Type: PhocSeat

The tool’s seat.

The data is owned by the caller of the function.

Return value

Type: PhocTabletTool

The tablet tool.

The caller of the function takes ownership of the data, and is responsible for freeing it.