Method

GtkGestureStylusget_device_tool

since: 3.24

Declaration [src]

GdkDeviceTool*
gtk_gesture_stylus_get_device_tool (
  GtkGestureStylus* gesture
)

Description [src]

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.

Available since: 3.24

Return value

Type: GdkDeviceTool

The current stylus tool.

The returned data is owned by the instance.
The return value can be NULL.