Signal

GdkDevice::tool-changed

since: 3.22

Declaration

void
tool_changed (
  GdkDevice* self,
  GdkDeviceTool* tool,
  gpointer user_data
)

Description [src]

The ::tool-changed signal is emitted on pen/eraser GdkDevices whenever tools enter or leave proximity.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 3.22

Parameters

tool

Type: GdkDeviceTool

The new current tool.

The data is owned by the caller of the function.