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 |
Action to perform over a list of layers
Synopsis
- newtype ActionLayer = ActionLayer (ManagedPtr ActionLayer)
- newZeroActionLayer :: MonadIO m => m ActionLayer
- noActionLayer :: Maybe ActionLayer
- getActionLayerAction :: MonadIO m => ActionLayer -> m ActionLayerAction
- setActionLayerAction :: MonadIO m => ActionLayer -> ActionLayerAction -> m ()
- clearActionLayerLayers :: MonadIO m => ActionLayer -> m ()
- getActionLayerLayers :: MonadIO m => ActionLayer -> m [Ptr ()]
- setActionLayerLayers :: MonadIO m => ActionLayer -> Ptr (GList (Ptr ())) -> m ()
Exported types
newtype ActionLayer Source #
Memory-managed wrapper type.
ActionLayer (ManagedPtr ActionLayer) |
Instances
WrappedPtr ActionLayer Source # | |
Defined in GI.Poppler.Structs.ActionLayer wrappedPtrCalloc :: IO (Ptr ActionLayer) wrappedPtrCopy :: ActionLayer -> IO ActionLayer wrappedPtrFree :: Maybe (GDestroyNotify ActionLayer) | |
tag ~ AttrSet => Constructible ActionLayer tag Source # | |
Defined in GI.Poppler.Structs.ActionLayer new :: MonadIO m => (ManagedPtr ActionLayer -> ActionLayer) -> [AttrOp ActionLayer tag] -> m ActionLayer |
newZeroActionLayer :: MonadIO m => m ActionLayer Source #
Construct a ActionLayer
struct initialized to zero.
noActionLayer :: Maybe ActionLayer Source #
A convenience alias for Nothing
:: Maybe
ActionLayer
.
Properties
action
getActionLayerAction :: MonadIO m => ActionLayer -> m ActionLayerAction Source #
Get the value of the “action
” field.
When overloading is enabled, this is equivalent to
get
actionLayer #action
setActionLayerAction :: MonadIO m => ActionLayer -> ActionLayerAction -> m () Source #
Set the value of the “action
” field.
When overloading is enabled, this is equivalent to
set
actionLayer [ #action:=
value ]
layers
list of Layer
<!-- -->s
clearActionLayerLayers :: MonadIO m => ActionLayer -> m () Source #
Set the value of the “layers
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#layers
getActionLayerLayers :: MonadIO m => ActionLayer -> m [Ptr ()] Source #
Get the value of the “layers
” field.
When overloading is enabled, this is equivalent to
get
actionLayer #layers
setActionLayerLayers :: MonadIO m => ActionLayer -> Ptr (GList (Ptr ())) -> m () Source #
Set the value of the “layers
” field.
When overloading is enabled, this is equivalent to
set
actionLayer [ #layers:=
value ]