| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Poppler.Structs.TextAttributes
Contents
Description
A #PopplerTextAttributes is used to describe text attributes of a range of text
- newtype TextAttributes = TextAttributes (ManagedPtr TextAttributes)
- newZeroTextAttributes :: MonadIO m => m TextAttributes
- noTextAttributes :: Maybe TextAttributes
- data TextAttributesCopyMethodInfo
- textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes
- data TextAttributesFreeMethodInfo
- textAttributesFree :: MonadIO m => TextAttributes -> m ()
- textAttributesNew :: MonadIO m => m TextAttributes
- getTextAttributesColor :: MonadIO m => TextAttributes -> m Color
- textAttributes_color :: AttrLabelProxy "color"
- getTextAttributesEndIndex :: MonadIO m => TextAttributes -> m Int32
- setTextAttributesEndIndex :: MonadIO m => TextAttributes -> Int32 -> m ()
- textAttributes_endIndex :: AttrLabelProxy "endIndex"
- clearTextAttributesFontName :: MonadIO m => TextAttributes -> m ()
- getTextAttributesFontName :: MonadIO m => TextAttributes -> m (Maybe Text)
- setTextAttributesFontName :: MonadIO m => TextAttributes -> CString -> m ()
- textAttributes_fontName :: AttrLabelProxy "fontName"
- getTextAttributesFontSize :: MonadIO m => TextAttributes -> m Double
- setTextAttributesFontSize :: MonadIO m => TextAttributes -> Double -> m ()
- textAttributes_fontSize :: AttrLabelProxy "fontSize"
- getTextAttributesIsUnderlined :: MonadIO m => TextAttributes -> m Bool
- setTextAttributesIsUnderlined :: MonadIO m => TextAttributes -> Bool -> m ()
- textAttributes_isUnderlined :: AttrLabelProxy "isUnderlined"
- getTextAttributesStartIndex :: MonadIO m => TextAttributes -> m Int32
- setTextAttributesStartIndex :: MonadIO m => TextAttributes -> Int32 -> m ()
- textAttributes_startIndex :: AttrLabelProxy "startIndex"
Exported types
newtype TextAttributes Source #
Constructors
| TextAttributes (ManagedPtr TextAttributes) |
Instances
| BoxedObject TextAttributes Source # | |
| (~) AttrOpTag tag AttrSet => Constructible TextAttributes tag Source # | |
| ((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabel t (TextAttributes -> p) Source # | |
| ((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabelProxy t (TextAttributes -> p) Source # | |
| HasAttributeList * TextAttributes Source # | |
| ((~) * signature (m ()), MonadIO m) => MethodInfo * TextAttributesFreeMethodInfo TextAttributes signature Source # | |
| ((~) * signature (m TextAttributes), MonadIO m) => MethodInfo * TextAttributesCopyMethodInfo TextAttributes signature Source # | |
| type AttributeList TextAttributes Source # | |
newZeroTextAttributes :: MonadIO m => m TextAttributes Source #
Construct a TextAttributes struct initialized to zero.
Methods
copy
data TextAttributesCopyMethodInfo Source #
Instances
| ((~) * signature (m TextAttributes), MonadIO m) => MethodInfo * TextAttributesCopyMethodInfo TextAttributes signature Source # | |
textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes Source #
free
data TextAttributesFreeMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m) => MethodInfo * TextAttributesFreeMethodInfo TextAttributes signature Source # | |
textAttributesFree :: MonadIO m => TextAttributes -> m () Source #
new
textAttributesNew :: MonadIO m => m TextAttributes Source #
Properties
color
getTextAttributesColor :: MonadIO m => TextAttributes -> m Color Source #
textAttributes_color :: AttrLabelProxy "color" Source #
endIndex
getTextAttributesEndIndex :: MonadIO m => TextAttributes -> m Int32 Source #
setTextAttributesEndIndex :: MonadIO m => TextAttributes -> Int32 -> m () Source #
textAttributes_endIndex :: AttrLabelProxy "endIndex" Source #
fontName
clearTextAttributesFontName :: MonadIO m => TextAttributes -> m () Source #
getTextAttributesFontName :: MonadIO m => TextAttributes -> m (Maybe Text) Source #
setTextAttributesFontName :: MonadIO m => TextAttributes -> CString -> m () Source #
textAttributes_fontName :: AttrLabelProxy "fontName" Source #
fontSize
getTextAttributesFontSize :: MonadIO m => TextAttributes -> m Double Source #
setTextAttributesFontSize :: MonadIO m => TextAttributes -> Double -> m () Source #
textAttributes_fontSize :: AttrLabelProxy "fontSize" Source #
isUnderlined
getTextAttributesIsUnderlined :: MonadIO m => TextAttributes -> m Bool Source #
setTextAttributesIsUnderlined :: MonadIO m => TextAttributes -> Bool -> m () Source #
textAttributes_isUnderlined :: AttrLabelProxy "isUnderlined" Source #
startIndex
getTextAttributesStartIndex :: MonadIO m => TextAttributes -> m Int32 Source #
setTextAttributesStartIndex :: MonadIO m => TextAttributes -> Int32 -> m () Source #
textAttributes_startIndex :: AttrLabelProxy "startIndex" Source #