gi-gdk-4.0.3: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Structs.TimeCoord

Description

A TimeCoord stores a single event in a motion history.

Synopsis

Exported types

newtype TimeCoord Source #

Memory-managed wrapper type.

Constructors

TimeCoord (ManagedPtr TimeCoord) 

Instances

Instances details
Eq TimeCoord Source # 
Instance details

Defined in GI.Gdk.Structs.TimeCoord

BoxedPtr TimeCoord Source # 
Instance details

Defined in GI.Gdk.Structs.TimeCoord

CallocPtr TimeCoord Source # 
Instance details

Defined in GI.Gdk.Structs.TimeCoord

ManagedPtrNewtype TimeCoord Source # 
Instance details

Defined in GI.Gdk.Structs.TimeCoord

Methods

toManagedPtr :: TimeCoord -> ManagedPtr TimeCoord

tag ~ 'AttrSet => Constructible TimeCoord tag Source # 
Instance details

Defined in GI.Gdk.Structs.TimeCoord

Methods

new :: MonadIO m => (ManagedPtr TimeCoord -> TimeCoord) -> [AttrOp TimeCoord tag] -> m TimeCoord

newZeroTimeCoord :: MonadIO m => m TimeCoord Source #

Construct a TimeCoord struct initialized to zero.

Methods

Properties

flags

Flags indicating what axes are present

getTimeCoordFlags :: MonadIO m => TimeCoord -> m [AxisFlags] Source #

Get the value of the “flags” field. When overloading is enabled, this is equivalent to

get timeCoord #flags

setTimeCoordFlags :: MonadIO m => TimeCoord -> [AxisFlags] -> m () Source #

Set the value of the “flags” field. When overloading is enabled, this is equivalent to

set timeCoord [ #flags := value ]

time

The timestamp for this event.

getTimeCoordTime :: MonadIO m => TimeCoord -> m Word32 Source #

Get the value of the “time” field. When overloading is enabled, this is equivalent to

get timeCoord #time

setTimeCoordTime :: MonadIO m => TimeCoord -> Word32 -> m () Source #

Set the value of the “time” field. When overloading is enabled, this is equivalent to

set timeCoord [ #time := value ]