Declaration [src]

gtk_gesture_stylus_get_backlog (
  GtkGestureStylus* gesture,
  GdkTimeCoord** backlog,
  guint* n_elems

Description [src]

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 GtkGestureStylus::motion signal handler, the state given in this signal and obtainable through gtk_gesture_stylus_get_axis() express the latest (most up-to-date) state in motion history.

The backlog is provided in chronological order.



Type: An array of GdkTimeCoord*

Coordinates and times for the backlog events.

The argument will be set by the function.
The length of the array is specified in the n_elems argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Type: guint*

Return location for the number of elements.

The argument will be set by the function.

Return value

Type: gboolean

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