get_device_tool


Description:

public unowned DeviceTool? get_device_tool ()

Returns the `GdkDeviceTool` currently driving input through this gesture.

This function must be called from the handler of one of the [signal@Gtk.GestureStylus:GtkGestureStylus:down], [ signal@Gtk.GestureStylus:GtkGestureStylus:motion], [signal@Gtk.GestureStylus:GtkGestureStylus:up] or [ signal@Gtk.GestureStylus:GtkGestureStylus:proximity] signals.

Parameters:

this

a `GtkGestureStylus`

Returns:

The current stylus tool