| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Poppler.Structs.ActionLayer
Description
Action to perform over a list of layers
Synopsis
- newtype ActionLayer = ActionLayer (ManagedPtr ActionLayer)
- newZeroActionLayer :: MonadIO m => m ActionLayer
- getActionLayerAction :: MonadIO m => ActionLayer -> m ActionLayerAction
- setActionLayerAction :: MonadIO m => ActionLayer -> ActionLayerAction -> m ()
- clearActionLayerLayers :: MonadIO m => ActionLayer -> m ()
- getActionLayerLayers :: MonadIO m => ActionLayer -> m [Layer]
- setActionLayerLayers :: MonadIO m => ActionLayer -> Ptr (GList (Ptr Layer)) -> m ()
Exported types
newtype ActionLayer Source #
Memory-managed wrapper type.
Constructors
| ActionLayer (ManagedPtr ActionLayer) |
Instances
| Eq ActionLayer Source # | |
Defined in GI.Poppler.Structs.ActionLayer | |
| BoxedPtr ActionLayer Source # | |
Defined in GI.Poppler.Structs.ActionLayer | |
| CallocPtr ActionLayer Source # | |
Defined in GI.Poppler.Structs.ActionLayer Methods boxedPtrCalloc :: IO (Ptr ActionLayer) | |
| ManagedPtrNewtype ActionLayer Source # | |
Defined in GI.Poppler.Structs.ActionLayer Methods toManagedPtr :: ActionLayer -> ManagedPtr ActionLayer | |
| tag ~ 'AttrSet => Constructible ActionLayer tag Source # | |
Defined in GI.Poppler.Structs.ActionLayer Methods new :: MonadIO m => (ManagedPtr ActionLayer -> ActionLayer) -> [AttrOp ActionLayer tag] -> m ActionLayer | |
newZeroActionLayer :: MonadIO m => m ActionLayer Source #
Construct a ActionLayer struct initialized to zero.
Methods
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
setactionLayer [ #action:=value ]
layers
list of Layers
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 [Layer] 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 Layer)) -> m () Source #
Set the value of the “layers” field.
When overloading is enabled, this is equivalent to
setactionLayer [ #layers:=value ]