class Gdk::TimeCoord

Overview

A Gdk::TimeCoord stores a single event in a motion history.

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

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/time_coord.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibGdk::TimeCoord, transfer : GICrystal::Transfer) #

def self.new(time : UInt32? = nil, flags : Gdk::AxisFlags? = nil, axes : Enumerable(Float64)? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def axes : Enumerable(Float64) #

def axes=(value : Enumerable(Float64)) #

def flags : Gdk::AxisFlags #

def flags=(value : Gdk::AxisFlags) #

def time : UInt32 #

def time=(value : UInt32) #

def to_unsafe #