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.

class GestureStylus
getDeviceTool
()

Return Value

Type: gdk.device_tool.DeviceTool

The current stylus tool