Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A #GdkTimeCoord stores a single event in a motion history.
- newtype TimeCoord = TimeCoord (ForeignPtr TimeCoord)
- newZeroTimeCoord :: MonadIO m => m TimeCoord
- noTimeCoord :: Maybe TimeCoord
- timeCoordReadTime :: MonadIO m => TimeCoord -> m Word32
- timeCoordTime :: AttrLabelProxy "time"
- timeCoordWriteTime :: MonadIO m => TimeCoord -> Word32 -> m ()
Exported types
(~) AttrOpTag tag AttrSet => Constructible TimeCoord tag | |
((~) * info (ResolveTimeCoordMethod t TimeCoord), MethodInfo * info TimeCoord p) => IsLabelProxy t (TimeCoord -> p) | |
type AttributeList TimeCoord |
newZeroTimeCoord :: MonadIO m => m TimeCoord Source
Construct a TimeCoord
struct initialized to zero.
Properties
Time
timeCoordReadTime :: MonadIO m => TimeCoord -> m Word32 Source
timeCoordTime :: AttrLabelProxy "time" Source
timeCoordWriteTime :: MonadIO m => TimeCoord -> Word32 -> m () Source