get_backlog


Description:

public bool get_backlog (out TimeCoord[] backlog)

Returns the accumulated backlog of tracking information.

By default, GTK will limit rate of input events. On stylus input where accuracy of strokes is paramount, this function returns the accumulated coordinate/timing state before the emission of the current [Gtk.GestureStylus:GtkGestureStylus:motion] signal.

This function may only be called within a [signal@Gtk.GestureStylus:GtkGestureStylus:motion] signal handler, the state given in this signal and obtainable through [method@Gtk.GestureStylus.get_axis] express the latest (most up-to-date) state in motion history.

The backlog is provided in chronological order.

Parameters:

this

a `GtkGestureStylus`

backlog

coordinates and times for the backlog events

n_elems

return location for the number of elements

Returns:

true if there is a backlog to unfold in the current state.