Class TimeCoord

All Implemented Interfaces:
PointerInterface

public class TimeCoord extends Record
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.

https://docs.gtk.org/gdk4/struct.TimeCoord.html

  • Field Details

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldTime

      public void setFieldTime(int time)
      The timestamp for this event
    • getFieldTime

      public int getFieldTime()
      The timestamp for this event
    • setFieldFlags

      public void setFieldFlags(int flags)
      Flags indicating what axes are present, see [flags@Gdk.AxisFlags]
    • getFieldFlags

      public int getFieldFlags()
      Flags indicating what axes are present, see [flags@Gdk.AxisFlags]