### Signal

# Gdk Device::tool-changed

since: 4.0

#### Declaration

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

#### Description [src]

Emitted on pen/eraser devices whenever tools enter or leave proximity.

Default handler: The default handler is called after the handlers added via `g_signal_connect()`.
Available since: 4.0

#### Parameters

`tool`

  Type: `GdkDeviceTool`

  The new current tool.

  The data is owned by the caller of the function.