| 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 |
GI.Poppler.Objects.AnnotFileAttachment
Description
No description available in the introspection data.
Synopsis
- newtype AnnotFileAttachment = AnnotFileAttachment (ManagedPtr AnnotFileAttachment)
- class GObject o => IsAnnotFileAttachment o
- toAnnotFileAttachment :: (MonadIO m, IsAnnotFileAttachment o) => o -> m AnnotFileAttachment
- noAnnotFileAttachment :: Maybe AnnotFileAttachment
- annotFileAttachmentGetAttachment :: (HasCallStack, MonadIO m, IsAnnotFileAttachment a) => a -> m Attachment
- annotFileAttachmentGetName :: (HasCallStack, MonadIO m, IsAnnotFileAttachment a) => a -> m Text
Exported types
newtype AnnotFileAttachment Source #
Memory-managed wrapper type.
Constructors
| AnnotFileAttachment (ManagedPtr AnnotFileAttachment) |
Instances
class GObject o => IsAnnotFileAttachment o Source #
Type class for types which can be safely cast to AnnotFileAttachment, for instance with toAnnotFileAttachment.
Instances
toAnnotFileAttachment :: (MonadIO m, IsAnnotFileAttachment o) => o -> m AnnotFileAttachment Source #
Cast to AnnotFileAttachment, for types for which this is known to be safe. For general casts, use castTo.
noAnnotFileAttachment :: Maybe AnnotFileAttachment Source #
A convenience alias for Nothing :: Maybe AnnotFileAttachment.
Methods
getAttachment
annotFileAttachmentGetAttachment Source #
Arguments
| :: (HasCallStack, MonadIO m, IsAnnotFileAttachment a) | |
| => a |
|
| -> m Attachment | Returns: |
Creates a Attachment for the file of the file attachment annotation annot.
The Attachment must be unrefed with g_object_unref by the caller.
Since: 0.14
getName
annotFileAttachmentGetName Source #
Arguments
| :: (HasCallStack, MonadIO m, IsAnnotFileAttachment a) | |
| => a |
|
| -> m Text | Returns: a new allocated string with the name of |
Retrieves the name of popplerAnnot.
Since: 0.14