gi-poppler-0.18.20: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Objects.AnnotFileAttachment

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf AnnotFileAttachment o) => IsAnnotFileAttachment o Source #

Type class for types which can be safely cast to AnnotFileAttachment, for instance with toAnnotFileAttachment.

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.

Methods

getAttachment

annotFileAttachmentGetAttachment Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotFileAttachment a) 
=> a

popplerAnnot: a AnnotFileAttachment

-> m Attachment

Returns: popplerAttachment

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

popplerAnnot: a AnnotFileAttachment

-> m Text

Returns: a new allocated string with the name of popplerAnnot. It must be freed with free when done.

Retrieves the name of popplerAnnot.

Since: 0.14