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 AnnotStamp = AnnotStamp (ManagedPtr AnnotStamp)
- class (GObject o, IsDescendantOf AnnotStamp o) => IsAnnotStamp o
- toAnnotStamp :: (MonadIO m, IsAnnotStamp o) => o -> m AnnotStamp
- annotStampGetIcon :: (HasCallStack, MonadIO m, IsAnnotStamp a) => a -> m AnnotStampIcon
- annotStampNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> m AnnotStamp
- annotStampSetCustomImage :: (HasCallStack, MonadIO m, IsAnnotStamp a) => a -> Surface -> m ()
- annotStampSetIcon :: (HasCallStack, MonadIO m, IsAnnotStamp a) => a -> AnnotStampIcon -> m ()
Exported types
newtype AnnotStamp Source #
Memory-managed wrapper type.
AnnotStamp (ManagedPtr AnnotStamp) |
Instances
Eq AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp (==) :: AnnotStamp -> AnnotStamp -> Bool # (/=) :: AnnotStamp -> AnnotStamp -> Bool # | |
GObject AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp | |
ManagedPtrNewtype AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp toManagedPtr :: AnnotStamp -> ManagedPtr AnnotStamp | |
TypedObject AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp | |
HasParentTypes AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp | |
IsGValue (Maybe AnnotStamp) Source # | Convert |
Defined in GI.Poppler.Objects.AnnotStamp gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe AnnotStamp -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe AnnotStamp) | |
type ParentTypes AnnotStamp Source # | |
Defined in GI.Poppler.Objects.AnnotStamp |
class (GObject o, IsDescendantOf AnnotStamp o) => IsAnnotStamp o Source #
Type class for types which can be safely cast to AnnotStamp
, for instance with toAnnotStamp
.
Instances
(GObject o, IsDescendantOf AnnotStamp o) => IsAnnotStamp o Source # | |
Defined in GI.Poppler.Objects.AnnotStamp |
toAnnotStamp :: (MonadIO m, IsAnnotStamp o) => o -> m AnnotStamp Source #
Cast to AnnotStamp
, for types for which this is known to be safe. For general casts, use castTo
.
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, getIcon, getModified, getName, getPageIndex, getProperty, getQdata, getRectangle.
Setters
setColor, setContents, setCustomImage, setData, setDataFull, setFlags, setIcon, setProperty, setRectangle.
getIcon
:: (HasCallStack, MonadIO m, IsAnnotStamp a) | |
=> a |
|
-> m AnnotStampIcon | Returns: the corresponding |
No description available in the introspection data.
Since: 22.07.0
new
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> m AnnotStamp | Returns: a newly created |
Creates a new Stamp annotation that will be
located on rect
when added to a page. See
pageAddAnnot
Since: 22.07.0
setCustomImage
annotStampSetCustomImage Source #
:: (HasCallStack, MonadIO m, IsAnnotStamp a) | |
=> a |
|
-> Surface |
|
-> m () | (Can throw |
Sets the custom image of popplerAnnot
to be image
Since: 22.07.0
setIcon
:: (HasCallStack, MonadIO m, IsAnnotStamp a) | |
=> a |
|
-> AnnotStampIcon |
|
-> m () |
Sets the icon of popplerAnnot
to be one of the predefined values in AnnotStampIcon
Since: 22.07.0