class Gdk::TimeCoord
- Gdk::TimeCoord
- Reference
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGdk::TimeCoord, transfer : GICrystal::Transfer)
- .new(time : UInt32? = nil, flags : Gdk::AxisFlags? = nil, axes : Enumerable(Float64)? = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #axes : Enumerable(Float64)
- #axes=(value : Enumerable(Float64))
- #flags : Gdk::AxisFlags
- #flags=(value : Gdk::AxisFlags)
- #time : UInt32
- #time=(value : UInt32)
- #to_unsafe
Constructor Detail
def self.new(time : UInt32? = nil, flags : Gdk::AxisFlags? = nil, axes : Enumerable(Float64)? = nil)
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.