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 |
No description available in the introspection data.
Synopsis
- newtype Annot = Annot (ManagedPtr Annot)
- class (GObject o, IsDescendantOf Annot o) => IsAnnot o
- toAnnot :: (MonadIO m, IsAnnot o) => o -> m Annot
- annotGetAnnotType :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m AnnotType
- annotGetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Color
- annotGetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m [AnnotFlag]
- annotGetModified :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetName :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Text
- annotGetPageIndex :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Int32
- annotGetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> m Rectangle
- annotSetColor :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Maybe Color -> m ()
- annotSetContents :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Text -> m ()
- annotSetFlags :: (HasCallStack, MonadIO m, IsAnnot a) => a -> [AnnotFlag] -> m ()
- annotSetRectangle :: (HasCallStack, MonadIO m, IsAnnot a) => a -> Rectangle -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Annot Source # | |
GObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
ManagedPtrNewtype Annot Source # | |
Defined in GI.Poppler.Objects.Annot toManagedPtr :: Annot -> ManagedPtr Annot # | |
TypedObject Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
HasParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot | |
IsGValue (Maybe Annot) Source # | Convert |
Defined in GI.Poppler.Objects.Annot | |
type ParentTypes Annot Source # | |
Defined in GI.Poppler.Objects.Annot |
class (GObject o, IsDescendantOf Annot o) => IsAnnot o Source #
Instances
(GObject o, IsDescendantOf Annot o) => IsAnnot o Source # | |
Defined in GI.Poppler.Objects.Annot |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAnnotType, getColor, getContents, getData, getFlags, getModified, getName, getPageIndex, getProperty, getQdata, getRectangle.
Setters
setColor, setContents, setData, setDataFull, setFlags, setProperty, setRectangle.
getAnnotType
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m AnnotType | Returns: |
Gets the type of popplerAnnot
getColor
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Color | Returns: a new allocated |
Retrieves the color of popplerAnnot
.
getContents
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the contents of |
Retrieves the contents of popplerAnnot
.
getFlags
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m [AnnotFlag] | Returns: the flag field of |
Retrieves the flag field specifying various characteristics of the
popplerAnnot
.
getModified
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the last modification data of
|
Retrieves the last modification data of popplerAnnot
. The returned
string will be either a PDF format date or a text string.
See also poppler_date_parse
()
getName
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Text | Returns: a new allocated string with the name of |
Retrieves the name of popplerAnnot
.
getPageIndex
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Int32 | Returns: page index or -1 |
Returns the page index to which popplerAnnot
is associated, or -1 if unknown
Since: 0.14
getRectangle
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> m Rectangle |
Retrieves the rectangle representing the page coordinates where the
annotation popplerAnnot
is placed.
Since: 0.26
setColor
Sets the color of popplerAnnot
.
Since: 0.16
setContents
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the contents of popplerAnnot
to the given value,
replacing the current contents.
Since: 0.12
setFlags
:: (HasCallStack, MonadIO m, IsAnnot a) | |
=> a |
|
-> [AnnotFlag] |
|
-> m () |
Sets the flag field specifying various characteristics of the
popplerAnnot
.
Since: 0.22