get_device_tool


Description:

[ Version ( since = "3.24" ) ]
public unowned DeviceTool? get_device_tool ()

Returns the DeviceTool currently driving input through this gesture.

This function must be called from either the down, motion, up or proximity signal handlers.

Parameters:

this

a GestureStylus

Returns:

The current stylus tool