event_new_touch_cancel


Description:

[ Version ( since = "1.22" ) ]
public static Event event_new_touch_cancel (NavigationModifierType state)

Create a new navigation event signalling that all currently active touch points are cancelled and should be discarded.

For example, under Wayland this event might be sent when a swipe passes the threshold to be recognized as a gesture by the compositor.

Parameters:

state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns:

a new Event