Gdk.TimeCoord

Fields

Name

Type

Access

Description

axes

[float]

r/w

axis values, indexed by [enum`Gdk`.AxisUse]

flags

Gdk.AxisFlags

r/w

Flags indicating what axes are present, see [flags`Gdk`.AxisFlags]

time

int

r/w

The timestamp for this event

Methods

None

Details

class Gdk.TimeCoord

A GdkTimeCoord stores a single event in a motion history.

To check whether an axis is present, check whether the corresponding flag from the [flags`Gdk`.AxisFlags] enumeration is set in the flags To access individual axis values, use the values of the values of the [enum`Gdk`.AxisUse] enumerations as indices.