| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Structs.TimeCoord
Contents
Description
A TimeCoord stores a single event in a motion history.
Synopsis
- newtype TimeCoord = TimeCoord (ManagedPtr TimeCoord)
- newZeroTimeCoord :: MonadIO m => m TimeCoord
- noTimeCoord :: Maybe TimeCoord
- getTimeCoordTime :: MonadIO m => TimeCoord -> m Word32
- setTimeCoordTime :: MonadIO m => TimeCoord -> Word32 -> m ()
Exported types
Memory-managed wrapper type.
Constructors
| TimeCoord (ManagedPtr TimeCoord) |
Instances
| WrappedPtr TimeCoord Source # | |
Defined in GI.Gdk.Structs.TimeCoord | |
| tag ~ AttrSet => Constructible TimeCoord tag Source # | |
Defined in GI.Gdk.Structs.TimeCoord | |
newZeroTimeCoord :: MonadIO m => m TimeCoord Source #
Construct a TimeCoord struct initialized to zero.
Properties
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
settimeCoord [ #time:=value ]