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 |
Action to perform over a list of layers
- newtype ActionLayer = ActionLayer (ForeignPtr ActionLayer)
- newZeroActionLayer :: MonadIO m => m ActionLayer
- noActionLayer :: Maybe ActionLayer
- actionLayerAction :: AttrLabelProxy "action"
- actionLayerReadAction :: MonadIO m => ActionLayer -> m ActionLayerAction
- actionLayerWriteAction :: MonadIO m => ActionLayer -> ActionLayerAction -> m ()
- actionLayerClearLayers :: MonadIO m => ActionLayer -> m ()
- actionLayerLayers :: AttrLabelProxy "layers"
- actionLayerReadLayers :: MonadIO m => ActionLayer -> m [Ptr ()]
- actionLayerWriteLayers :: MonadIO m => ActionLayer -> Ptr (GList (Ptr ())) -> m ()
Exported types
newtype ActionLayer Source
(~) AttrOpTag tag AttrSet => Constructible ActionLayer tag | |
((~) * info (ResolveActionLayerMethod t ActionLayer), MethodInfo * info ActionLayer p) => IsLabelProxy t (ActionLayer -> p) | |
type AttributeList ActionLayer |
newZeroActionLayer :: MonadIO m => m ActionLayer Source
Construct a ActionLayer
struct initialized to zero.
Properties
Action
actionLayerAction :: AttrLabelProxy "action" Source
actionLayerReadAction :: MonadIO m => ActionLayer -> m ActionLayerAction Source
actionLayerWriteAction :: MonadIO m => ActionLayer -> ActionLayerAction -> m () Source
Layers
actionLayerClearLayers :: MonadIO m => ActionLayer -> m () Source
actionLayerLayers :: AttrLabelProxy "layers" Source
actionLayerReadLayers :: MonadIO m => ActionLayer -> m [Ptr ()] Source
actionLayerWriteLayers :: MonadIO m => ActionLayer -> Ptr (GList (Ptr ())) -> m () Source