GestureStylus.getDeviceTool

Returns the #GdkDeviceTool currently driving input through this gesture. This function must be called from either the #GtkGestureStylus::down, #GtkGestureStylus::motion, #GtkGestureStylus::up or #GtkGestureStylus::proximity signal handlers.

class GestureStylus
getDeviceTool
()

Return Value

Type: gdk.device_tool.DeviceTool

The current stylus tool