| 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.ActionAny
Description
Fields common to all Actions
Synopsis
- newtype ActionAny = ActionAny (ManagedPtr ActionAny)
- newZeroActionAny :: MonadIO m => m ActionAny
- clearActionAnyTitle :: MonadIO m => ActionAny -> m ()
- getActionAnyTitle :: MonadIO m => ActionAny -> m (Maybe Text)
- setActionAnyTitle :: MonadIO m => ActionAny -> CString -> m ()
- getActionAnyType :: MonadIO m => ActionAny -> m ActionType
- setActionAnyType :: MonadIO m => ActionAny -> ActionType -> m ()
Exported types
Memory-managed wrapper type.
Instances
| Eq ActionAny Source # | |
| BoxedPtr ActionAny Source # | |
Defined in GI.Poppler.Structs.ActionAny | |
| CallocPtr ActionAny Source # | |
Defined in GI.Poppler.Structs.ActionAny Methods boxedPtrCalloc :: IO (Ptr ActionAny) | |
| ManagedPtrNewtype ActionAny Source # | |
Defined in GI.Poppler.Structs.ActionAny Methods toManagedPtr :: ActionAny -> ManagedPtr ActionAny | |
| tag ~ 'AttrSet => Constructible ActionAny tag Source # | |
newZeroActionAny :: MonadIO m => m ActionAny Source #
Construct a ActionAny struct initialized to zero.
Methods
Properties
title
action title
clearActionAnyTitle :: MonadIO m => ActionAny -> m () Source #
Set the value of the “title” field to Nothing.
When overloading is enabled, this is equivalent to
clear #title
getActionAnyTitle :: MonadIO m => ActionAny -> m (Maybe Text) Source #
Get the value of the “title” field.
When overloading is enabled, this is equivalent to
get actionAny #title
setActionAnyTitle :: MonadIO m => ActionAny -> CString -> m () Source #
Set the value of the “title” field.
When overloading is enabled, this is equivalent to
setactionAny [ #title:=value ]
type
action type
getActionAnyType :: MonadIO m => ActionAny -> m ActionType Source #
Get the value of the “type” field.
When overloading is enabled, this is equivalent to
get actionAny #type
setActionAnyType :: MonadIO m => ActionAny -> ActionType -> m () Source #
Set the value of the “type” field.
When overloading is enabled, this is equivalent to
setactionAny [ #type:=value ]