GestureStylus.getDeviceTool

Returns the [gdk.device_tool.DeviceTool] currently driving input through this gesture.

This function must be called from the handler of one of the [gtk.gesture_stylus.GestureStylus.down], [gtk.gesture_stylus.GestureStylus.motion], [gtk.gesture_stylus.GestureStylus.up] or [gtk.gesture_stylus.GestureStylus.proximity] signals.

Returns

The current stylus tool