get_history


Description:

[ CCode ( array_length_pos = 0.1 , array_length_type = "guint" ) ]
public TimeCoord[]? get_history ()

Retrieves the history of the device that this is for, as a list of time and coordinates.

The history includes positions that are not delivered as separate events to the application because they occurred in the same frame as this.

Note that only motion and scroll events record history, and motion events do it only if one of the mouse buttons is down, or the device has a tool.

Parameters:

this

a motion or scroll event

out_n_coords

Return location for the length of the returned array

Returns:

an array of time and coordinates




2022 vala-language.org