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 |
No description available in the introspection data.
Synopsis
- newtype AnnotFileAttachment = AnnotFileAttachment (ManagedPtr AnnotFileAttachment)
- class (GObject o, IsDescendantOf AnnotFileAttachment 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.
Instances
class (GObject o, IsDescendantOf AnnotFileAttachment o) => IsAnnotFileAttachment o Source #
Type class for types which can be safely cast to AnnotFileAttachment
, for instance with toAnnotFileAttachment
.
Instances
(GObject o, IsDescendantOf AnnotFileAttachment o) => IsAnnotFileAttachment o Source # | |
Defined in GI.Poppler.Objects.AnnotFileAttachment |
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 #
:: (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 #
:: (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