GestureStylus.getBacklog

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::motion] signal.

This function may only be called within a [signal@Gtk.GestureStylus::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.

class GestureStylus
bool
getBacklog

Parameters

backlog GdkTimeCoord[]

coordinates and times for the backlog events

Return Value

Type: bool

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

Meta