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 AnnotSquare = AnnotSquare (ManagedPtr AnnotSquare)
- class (GObject o, IsDescendantOf AnnotSquare o) => IsAnnotSquare o
- toAnnotSquare :: (MonadIO m, IsAnnotSquare o) => o -> m AnnotSquare
- annotSquareGetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotSquare a) => a -> m Color
- annotSquareNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> m AnnotSquare
- annotSquareSetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotSquare a) => a -> Maybe Color -> m ()
Exported types
newtype AnnotSquare Source #
Memory-managed wrapper type.
AnnotSquare (ManagedPtr AnnotSquare) |
Instances
Eq AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare (==) :: AnnotSquare -> AnnotSquare -> Bool # (/=) :: AnnotSquare -> AnnotSquare -> Bool # | |
GObject AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare | |
ManagedPtrNewtype AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare toManagedPtr :: AnnotSquare -> ManagedPtr AnnotSquare | |
TypedObject AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare | |
HasParentTypes AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare | |
IsGValue (Maybe AnnotSquare) Source # | Convert |
Defined in GI.Poppler.Objects.AnnotSquare gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe AnnotSquare -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe AnnotSquare) | |
type ParentTypes AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare |
class (GObject o, IsDescendantOf AnnotSquare o) => IsAnnotSquare o Source #
Type class for types which can be safely cast to AnnotSquare
, for instance with toAnnotSquare
.
Instances
(GObject o, IsDescendantOf AnnotSquare o) => IsAnnotSquare o Source # | |
Defined in GI.Poppler.Objects.AnnotSquare |
toAnnotSquare :: (MonadIO m, IsAnnotSquare o) => o -> m AnnotSquare Source #
Cast to AnnotSquare
, 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, hasPopup, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAnnotType, getColor, getContents, getData, getDate, getExternalData, getFlags, getInteriorColor, getLabel, getModified, getName, getOpacity, getPageIndex, getPopupIsOpen, getPopupRectangle, getProperty, getQdata, getRectangle, getReplyTo, getSubject.
Setters
setColor, setContents, setData, setDataFull, setFlags, setInteriorColor, setLabel, setOpacity, setPopup, setPopupIsOpen, setPopupRectangle, setProperty, setRectangle.
getInteriorColor
annotSquareGetInteriorColor Source #
:: (HasCallStack, MonadIO m, IsAnnotSquare a) | |
=> a |
|
-> m Color | Returns: a new allocated |
Retrieves the interior color of popplerAnnot
.
Since: 0.26
new
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> m AnnotSquare | Returns: a newly created |
Creates a new Square annotation that will be
located on rect
when added to a page. See
pageAddAnnot
Since: 0.26
setInteriorColor
annotSquareSetInteriorColor Source #
:: (HasCallStack, MonadIO m, IsAnnotSquare a) | |
=> a |
|
-> Maybe Color | |
-> m () |
Sets the interior color of popplerAnnot
.
Since: 0.26