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 |
- Exported types
- Methods
- Properties
- accumulativeMargin
- allowBreaks
- allowBreaksSet
- background
- backgroundFullHeight
- backgroundFullHeightSet
- backgroundRgba
- backgroundSet
- direction
- editable
- editableSet
- fallback
- fallbackSet
- family
- familySet
- font
- fontDesc
- fontFeatures
- fontFeaturesSet
- foreground
- foregroundRgba
- foregroundSet
- indent
- indentSet
- insertHyphens
- insertHyphensSet
- invisible
- invisibleSet
- justification
- justificationSet
- language
- languageSet
- leftMargin
- leftMarginSet
- letterSpacing
- letterSpacingSet
- lineHeight
- lineHeightSet
- name
- overline
- overlineRgba
- overlineRgbaSet
- overlineSet
- paragraphBackground
- paragraphBackgroundRgba
- paragraphBackgroundSet
- pixelsAboveLines
- pixelsAboveLinesSet
- pixelsBelowLines
- pixelsBelowLinesSet
- pixelsInsideWrap
- pixelsInsideWrapSet
- rightMargin
- rightMarginSet
- rise
- riseSet
- scale
- scaleSet
- sentence
- sentenceSet
- showSpaces
- showSpacesSet
- size
- sizePoints
- sizeSet
- stretch
- stretchSet
- strikethrough
- strikethroughRgba
- strikethroughRgbaSet
- strikethroughSet
- style
- styleSet
- tabs
- tabsSet
- textTransform
- textTransformSet
- underline
- underlineRgba
- underlineRgbaSet
- underlineSet
- variant
- variantSet
- weight
- weightSet
- word
- wordSet
- wrapMode
- wrapModeSet
A tag that can be applied to text contained in a GtkTextBuffer
.
You may wish to begin by reading the text widget conceptual overview, which gives an overview of all the objects and data types related to the text widget and how they work together.
Tags should be in the TextTagTable
for a given
GtkTextBuffer
before using them with that buffer.
TextBuffer
.create_tag
() is the best way to create tags.
See “gtk4-demo” for numerous examples.
For each property of GtkTextTag
, there is a “set” property, e.g.
“font-set” corresponds to “font”. These “set” properties reflect
whether a property has been set or not.
They are maintained by GTK and you should not set them independently.
Synopsis
- newtype TextTag = TextTag (ManagedPtr TextTag)
- class (GObject o, IsDescendantOf TextTag o) => IsTextTag o
- toTextTag :: (MonadIO m, IsTextTag o) => o -> m TextTag
- textTagChanged :: (HasCallStack, MonadIO m, IsTextTag a) => a -> Bool -> m ()
- textTagGetPriority :: (HasCallStack, MonadIO m, IsTextTag a) => a -> m Int32
- textTagNew :: (HasCallStack, MonadIO m) => Maybe Text -> m TextTag
- textTagSetPriority :: (HasCallStack, MonadIO m, IsTextTag a) => a -> Int32 -> m ()
- constructTextTagAccumulativeMargin :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagAllowBreaks :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagAllowBreaks :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagAllowBreaks :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagAllowBreaksSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagAllowBreaksSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagAllowBreaksSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagBackground :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagBackground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- setTextTagBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagBackgroundFullHeight :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagBackgroundFullHeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagBackgroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagBackgroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagDirection :: (IsTextTag o, MonadIO m) => TextDirection -> m (GValueConstruct o)
- getTextTagDirection :: (MonadIO m, IsTextTag o) => o -> m TextDirection
- setTextTagDirection :: (MonadIO m, IsTextTag o) => o -> TextDirection -> m ()
- constructTextTagEditable :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagEditable :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagEditable :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagEditableSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagFallback :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagFallback :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagFallback :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagFallbackSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagFallbackSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagFallbackSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagFamily :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- getTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagFamily :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagFamilySet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagFamilySet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagFamilySet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagFont :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagFont :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- getTextTagFont :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagFont :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- clearTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagFontDesc :: (IsTextTag o, MonadIO m) => FontDescription -> m (GValueConstruct o)
- getTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m (Maybe FontDescription)
- setTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> FontDescription -> m ()
- clearTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagFontFeatures :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- getTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagFontFeaturesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagFontFeaturesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagFontFeaturesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagForeground :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagForeground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- setTextTagForeground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- clearTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagForegroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagForegroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagIndent :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagIndent :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagIndent :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagIndentSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInsertHyphens :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagInsertHyphens :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInsertHyphens :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInsertHyphensSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagInsertHyphensSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInsertHyphensSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInvisible :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInvisibleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagJustification :: (IsTextTag o, MonadIO m) => Justification -> m (GValueConstruct o)
- getTextTagJustification :: (MonadIO m, IsTextTag o) => o -> m Justification
- setTextTagJustification :: (MonadIO m, IsTextTag o) => o -> Justification -> m ()
- constructTextTagJustificationSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagJustificationSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagJustificationSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagLanguage :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- getTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagLanguageSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagLeftMargin :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagLeftMarginSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagLetterSpacing :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagLetterSpacingSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagLineHeight :: (IsTextTag o, MonadIO m) => Float -> m (GValueConstruct o)
- getTextTagLineHeight :: (MonadIO m, IsTextTag o) => o -> m Float
- setTextTagLineHeight :: (MonadIO m, IsTextTag o) => o -> Float -> m ()
- constructTextTagLineHeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagLineHeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLineHeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagName :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- getTextTagName :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- constructTextTagOverline :: (IsTextTag o, MonadIO m) => Overline -> m (GValueConstruct o)
- getTextTagOverline :: (MonadIO m, IsTextTag o) => o -> m Overline
- setTextTagOverline :: (MonadIO m, IsTextTag o) => o -> Overline -> m ()
- clearTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagOverlineRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagOverlineRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagOverlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagOverlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagOverlineSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagOverlineSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagOverlineSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagParagraphBackground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o)
- setTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- clearTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagParagraphBackgroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagParagraphBackgroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsAboveLines :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsAboveLinesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsBelowLines :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsBelowLinesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsInsideWrap :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsInsideWrapSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagRightMargin :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagRightMarginSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagRise :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagRise :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagRise :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagRiseSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagScale :: (IsTextTag o, MonadIO m) => Double -> m (GValueConstruct o)
- getTextTagScale :: (MonadIO m, IsTextTag o) => o -> m Double
- setTextTagScale :: (MonadIO m, IsTextTag o) => o -> Double -> m ()
- constructTextTagScaleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagSentence :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagSentence :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagSentence :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagSentenceSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagSentenceSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagSentenceSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagShowSpaces :: (IsTextTag o, MonadIO m) => [ShowFlags] -> m (GValueConstruct o)
- getTextTagShowSpaces :: (MonadIO m, IsTextTag o) => o -> m [ShowFlags]
- setTextTagShowSpaces :: (MonadIO m, IsTextTag o) => o -> [ShowFlags] -> m ()
- constructTextTagShowSpacesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagShowSpacesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagShowSpacesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagSize :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagSize :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagSize :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagSizePoints :: (IsTextTag o, MonadIO m) => Double -> m (GValueConstruct o)
- getTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> m Double
- setTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> Double -> m ()
- constructTextTagSizeSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStretch :: (IsTextTag o, MonadIO m) => Stretch -> m (GValueConstruct o)
- getTextTagStretch :: (MonadIO m, IsTextTag o) => o -> m Stretch
- setTextTagStretch :: (MonadIO m, IsTextTag o) => o -> Stretch -> m ()
- constructTextTagStretchSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStrikethrough :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagStrikethrough :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStrikethrough :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagStrikethroughRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagStrikethroughRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStrikethroughSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStyle :: (IsTextTag o, MonadIO m) => Style -> m (GValueConstruct o)
- getTextTagStyle :: (MonadIO m, IsTextTag o) => o -> m Style
- setTextTagStyle :: (MonadIO m, IsTextTag o) => o -> Style -> m ()
- constructTextTagStyleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagStyleSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStyleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagTabs :: (IsTextTag o, MonadIO m) => TabArray -> m (GValueConstruct o)
- getTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m (Maybe TabArray)
- setTextTagTabs :: (MonadIO m, IsTextTag o) => o -> TabArray -> m ()
- constructTextTagTabsSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagTextTransform :: (IsTextTag o, MonadIO m) => TextTransform -> m (GValueConstruct o)
- getTextTagTextTransform :: (MonadIO m, IsTextTag o) => o -> m TextTransform
- setTextTagTextTransform :: (MonadIO m, IsTextTag o) => o -> TextTransform -> m ()
- constructTextTagTextTransformSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagTextTransformSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagTextTransformSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagUnderline :: (IsTextTag o, MonadIO m) => Underline -> m (GValueConstruct o)
- getTextTagUnderline :: (MonadIO m, IsTextTag o) => o -> m Underline
- setTextTagUnderline :: (MonadIO m, IsTextTag o) => o -> Underline -> m ()
- clearTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagUnderlineRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagUnderlineRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagUnderlineSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagVariant :: (IsTextTag o, MonadIO m) => Variant -> m (GValueConstruct o)
- getTextTagVariant :: (MonadIO m, IsTextTag o) => o -> m Variant
- setTextTagVariant :: (MonadIO m, IsTextTag o) => o -> Variant -> m ()
- constructTextTagVariantSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWeight :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getTextTagWeight :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagWeight :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagWeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWord :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagWord :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWord :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWordSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagWordSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWordSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWrapMode :: (IsTextTag o, MonadIO m) => WrapMode -> m (GValueConstruct o)
- getTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> m WrapMode
- setTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> WrapMode -> m ()
- constructTextTagWrapModeSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq TextTag Source # | |
GObject TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag | |
ManagedPtrNewtype TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag toManagedPtr :: TextTag -> ManagedPtr TextTag | |
TypedObject TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag | |
HasParentTypes TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag | |
IsGValue (Maybe TextTag) Source # | Convert |
Defined in GI.Gtk.Objects.TextTag gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe TextTag -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe TextTag) | |
type ParentTypes TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag type ParentTypes TextTag = '[Object] |
class (GObject o, IsDescendantOf TextTag o) => IsTextTag o Source #
Instances
(GObject o, IsDescendantOf TextTag o) => IsTextTag o Source # | |
Defined in GI.Gtk.Objects.TextTag |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, changed, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getPriority, getProperty, getQdata.
Setters
changed
:: (HasCallStack, MonadIO m, IsTextTag a) | |
=> a |
|
-> Bool |
|
-> m () |
Emits the TextTagTable::tagChanged signal on the
GtkTextTagTable
where the tag is included.
The signal is already emitted when setting a GtkTextTag
property.
This function is useful for a GtkTextTag
subclass.
getPriority
:: (HasCallStack, MonadIO m, IsTextTag a) | |
=> a |
|
-> m Int32 | Returns: The tag’s priority. |
Get the tag priority.
new
:: (HasCallStack, MonadIO m) | |
=> Maybe Text |
|
-> m TextTag | Returns: a new |
Creates a GtkTextTag
.
setPriority
:: (HasCallStack, MonadIO m, IsTextTag a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the priority of a GtkTextTag
.
Valid priorities start at 0 and go to one less than
textTagTableGetSize
. Each tag in a table
has a unique priority; setting the priority of one tag shifts
the priorities of all the other tags in the table to maintain
a unique priority for each tag.
Higher priority tags “win” if two tags both set the same text
attribute. When adding a tag to a tag table, it will be assigned
the highest priority in the table by default; so normally the
precedence of a set of tags is the order in which they were added
to the table, or created with TextBuffer
.create_tag
(),
which adds the tag to the buffer’s table automatically.
Properties
accumulativeMargin
Whether the margins accumulate or override each other.
When set to True
the margins of this tag are added to the margins
of any other non-accumulative margins present. When set to False
the margins override one another (the default).
constructTextTagAccumulativeMargin :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accumulative-margin
” property. This is rarely needed directly, but it is used by new
.
getTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “accumulative-margin
” property.
When overloading is enabled, this is equivalent to
get
textTag #accumulativeMargin
setTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “accumulative-margin
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #accumulativeMargin:=
value ]
allowBreaks
Whether breaks are allowed.
constructTextTagAllowBreaks :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “allow-breaks
” property. This is rarely needed directly, but it is used by new
.
getTextTagAllowBreaks :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “allow-breaks
” property.
When overloading is enabled, this is equivalent to
get
textTag #allowBreaks
setTextTagAllowBreaks :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “allow-breaks
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #allowBreaks:=
value ]
allowBreaksSet
No description available in the introspection data.
constructTextTagAllowBreaksSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “allow-breaks-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagAllowBreaksSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “allow-breaks-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #allowBreaksSet
setTextTagAllowBreaksSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “allow-breaks-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #allowBreaksSet:=
value ]
background
Background color as a string.
clearTextTagBackground :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “background
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#background
constructTextTagBackground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background
” property. This is rarely needed directly, but it is used by new
.
setTextTagBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “background
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #background:=
value ]
backgroundFullHeight
Whether the background color fills the entire line height or only the height of the tagged characters.
constructTextTagBackgroundFullHeight :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background-full-height
” property. This is rarely needed directly, but it is used by new
.
getTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “background-full-height
” property.
When overloading is enabled, this is equivalent to
get
textTag #backgroundFullHeight
setTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “background-full-height
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #backgroundFullHeight:=
value ]
backgroundFullHeightSet
No description available in the introspection data.
constructTextTagBackgroundFullHeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background-full-height-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “background-full-height-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #backgroundFullHeightSet
setTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “background-full-height-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #backgroundFullHeightSet:=
value ]
backgroundRgba
Background color as a GdkRGBA
.
clearTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “background-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#backgroundRgba
constructTextTagBackgroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “background-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #backgroundRgba
setTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “background-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #backgroundRgba:=
value ]
backgroundSet
No description available in the introspection data.
constructTextTagBackgroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “background-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #backgroundSet
setTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “background-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #backgroundSet:=
value ]
direction
Text direction, e.g. right-to-left or left-to-right.
constructTextTagDirection :: (IsTextTag o, MonadIO m) => TextDirection -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “direction
” property. This is rarely needed directly, but it is used by new
.
getTextTagDirection :: (MonadIO m, IsTextTag o) => o -> m TextDirection Source #
Get the value of the “direction
” property.
When overloading is enabled, this is equivalent to
get
textTag #direction
setTextTagDirection :: (MonadIO m, IsTextTag o) => o -> TextDirection -> m () Source #
Set the value of the “direction
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #direction:=
value ]
editable
Whether the text can be modified by the user.
constructTextTagEditable :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “editable
” property. This is rarely needed directly, but it is used by new
.
getTextTagEditable :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “editable
” property.
When overloading is enabled, this is equivalent to
get
textTag #editable
setTextTagEditable :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “editable
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #editable:=
value ]
editableSet
No description available in the introspection data.
constructTextTagEditableSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “editable-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “editable-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #editableSet
setTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “editable-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #editableSet:=
value ]
fallback
Whether font fallback is enabled.
When set to True
, other fonts will be substituted
where the current font is missing glyphs.
constructTextTagFallback :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “fallback
” property. This is rarely needed directly, but it is used by new
.
getTextTagFallback :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “fallback
” property.
When overloading is enabled, this is equivalent to
get
textTag #fallback
setTextTagFallback :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “fallback
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #fallback:=
value ]
fallbackSet
No description available in the introspection data.
constructTextTagFallbackSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “fallback-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagFallbackSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “fallback-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #fallbackSet
setTextTagFallbackSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “fallback-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #fallbackSet:=
value ]
family
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
clearTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “family
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#family
constructTextTagFamily :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “family
” property. This is rarely needed directly, but it is used by new
.
getTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text) Source #
Get the value of the “family
” property.
When overloading is enabled, this is equivalent to
get
textTag #family
setTextTagFamily :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “family
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #family:=
value ]
familySet
No description available in the introspection data.
constructTextTagFamilySet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “family-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagFamilySet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “family-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #familySet
setTextTagFamilySet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “family-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #familySet:=
value ]
font
Font description as string, e.g. \"Sans Italic 12\".
Note that the initial value of this property depends on
the internals of PangoFontDescription
.
clearTextTagFont :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “font
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#font
constructTextTagFont :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “font
” property. This is rarely needed directly, but it is used by new
.
getTextTagFont :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text) Source #
Get the value of the “font
” property.
When overloading is enabled, this is equivalent to
get
textTag #font
setTextTagFont :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “font
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #font:=
value ]
fontDesc
Font description as a PangoFontDescription
.
clearTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “font-desc
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#fontDesc
constructTextTagFontDesc :: (IsTextTag o, MonadIO m) => FontDescription -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “font-desc
” property. This is rarely needed directly, but it is used by new
.
getTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m (Maybe FontDescription) Source #
Get the value of the “font-desc
” property.
When overloading is enabled, this is equivalent to
get
textTag #fontDesc
setTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> FontDescription -> m () Source #
Set the value of the “font-desc
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #fontDesc:=
value ]
fontFeatures
OpenType font features, as a string.
clearTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “font-features
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#fontFeatures
constructTextTagFontFeatures :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “font-features
” property. This is rarely needed directly, but it is used by new
.
getTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text) Source #
Get the value of the “font-features
” property.
When overloading is enabled, this is equivalent to
get
textTag #fontFeatures
setTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “font-features
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #fontFeatures:=
value ]
fontFeaturesSet
No description available in the introspection data.
constructTextTagFontFeaturesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “font-features-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagFontFeaturesSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “font-features-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #fontFeaturesSet
setTextTagFontFeaturesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “font-features-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #fontFeaturesSet:=
value ]
foreground
Foreground color as a string.
clearTextTagForeground :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “foreground
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#foreground
constructTextTagForeground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “foreground
” property. This is rarely needed directly, but it is used by new
.
setTextTagForeground :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “foreground
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #foreground:=
value ]
foregroundRgba
Foreground color as a GdkRGBA
.
clearTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “foreground-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#foregroundRgba
constructTextTagForegroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “foreground-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “foreground-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #foregroundRgba
setTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “foreground-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #foregroundRgba:=
value ]
foregroundSet
No description available in the introspection data.
constructTextTagForegroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “foreground-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “foreground-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #foregroundSet
setTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “foreground-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #foregroundSet:=
value ]
indent
Amount to indent the paragraph, in pixels.
A negative value of indent will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of indent.
constructTextTagIndent :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “indent
” property. This is rarely needed directly, but it is used by new
.
getTextTagIndent :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “indent
” property.
When overloading is enabled, this is equivalent to
get
textTag #indent
setTextTagIndent :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “indent
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #indent:=
value ]
indentSet
No description available in the introspection data.
constructTextTagIndentSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “indent-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “indent-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #indentSet
setTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “indent-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #indentSet:=
value ]
insertHyphens
Whether to insert hyphens at breaks.
constructTextTagInsertHyphens :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “insert-hyphens
” property. This is rarely needed directly, but it is used by new
.
getTextTagInsertHyphens :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “insert-hyphens
” property.
When overloading is enabled, this is equivalent to
get
textTag #insertHyphens
setTextTagInsertHyphens :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “insert-hyphens
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #insertHyphens:=
value ]
insertHyphensSet
No description available in the introspection data.
constructTextTagInsertHyphensSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “insert-hyphens-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagInsertHyphensSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “insert-hyphens-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #insertHyphensSet
setTextTagInsertHyphensSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “insert-hyphens-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #insertHyphensSet:=
value ]
invisible
Whether this text is hidden.
Note that there may still be problems with the support for invisible text, in particular when navigating programmatically inside a buffer containing invisible segments.
constructTextTagInvisible :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “invisible
” property. This is rarely needed directly, but it is used by new
.
getTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “invisible
” property.
When overloading is enabled, this is equivalent to
get
textTag #invisible
setTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “invisible
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #invisible:=
value ]
invisibleSet
No description available in the introspection data.
constructTextTagInvisibleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “invisible-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “invisible-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #invisibleSet
setTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “invisible-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #invisibleSet:=
value ]
justification
Left, right, or center justification.
constructTextTagJustification :: (IsTextTag o, MonadIO m) => Justification -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “justification
” property. This is rarely needed directly, but it is used by new
.
getTextTagJustification :: (MonadIO m, IsTextTag o) => o -> m Justification Source #
Get the value of the “justification
” property.
When overloading is enabled, this is equivalent to
get
textTag #justification
setTextTagJustification :: (MonadIO m, IsTextTag o) => o -> Justification -> m () Source #
Set the value of the “justification
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #justification:=
value ]
justificationSet
No description available in the introspection data.
constructTextTagJustificationSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “justification-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagJustificationSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “justification-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #justificationSet
setTextTagJustificationSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “justification-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #justificationSet:=
value ]
language
The language this text is in, as an ISO code.
Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used.
Note that the initial value of this property depends
on the current locale, see also getDefaultLanguage
.
clearTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “language
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#language
constructTextTagLanguage :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “language
” property. This is rarely needed directly, but it is used by new
.
getTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text) Source #
Get the value of the “language
” property.
When overloading is enabled, this is equivalent to
get
textTag #language
setTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “language
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #language:=
value ]
languageSet
No description available in the introspection data.
constructTextTagLanguageSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “language-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “language-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #languageSet
setTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “language-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #languageSet:=
value ]
leftMargin
Width of the left margin in pixels.
constructTextTagLeftMargin :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “left-margin
” property. This is rarely needed directly, but it is used by new
.
getTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “left-margin
” property.
When overloading is enabled, this is equivalent to
get
textTag #leftMargin
setTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “left-margin
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #leftMargin:=
value ]
leftMarginSet
No description available in the introspection data.
constructTextTagLeftMarginSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “left-margin-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “left-margin-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #leftMarginSet
setTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “left-margin-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #leftMarginSet:=
value ]
letterSpacing
Extra spacing between graphemes, in Pango units.
constructTextTagLetterSpacing :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “letter-spacing
” property. This is rarely needed directly, but it is used by new
.
getTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “letter-spacing
” property.
When overloading is enabled, this is equivalent to
get
textTag #letterSpacing
setTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “letter-spacing
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #letterSpacing:=
value ]
letterSpacingSet
No description available in the introspection data.
constructTextTagLetterSpacingSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “letter-spacing-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “letter-spacing-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #letterSpacingSet
setTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “letter-spacing-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #letterSpacingSet:=
value ]
lineHeight
Factor to scale line height by.
Since: 4.6
constructTextTagLineHeight :: (IsTextTag o, MonadIO m) => Float -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “line-height
” property. This is rarely needed directly, but it is used by new
.
getTextTagLineHeight :: (MonadIO m, IsTextTag o) => o -> m Float Source #
Get the value of the “line-height
” property.
When overloading is enabled, this is equivalent to
get
textTag #lineHeight
setTextTagLineHeight :: (MonadIO m, IsTextTag o) => o -> Float -> m () Source #
Set the value of the “line-height
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #lineHeight:=
value ]
lineHeightSet
No description available in the introspection data.
constructTextTagLineHeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “line-height-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagLineHeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “line-height-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #lineHeightSet
setTextTagLineHeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “line-height-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #lineHeightSet:=
value ]
name
The name used to refer to the tag.
Nothing
for anonymous tags.
constructTextTagName :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “name
” property. This is rarely needed directly, but it is used by new
.
getTextTagName :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text) Source #
Get the value of the “name
” property.
When overloading is enabled, this is equivalent to
get
textTag #name
overline
Style of overline for this text.
constructTextTagOverline :: (IsTextTag o, MonadIO m) => Overline -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “overline
” property. This is rarely needed directly, but it is used by new
.
getTextTagOverline :: (MonadIO m, IsTextTag o) => o -> m Overline Source #
Get the value of the “overline
” property.
When overloading is enabled, this is equivalent to
get
textTag #overline
setTextTagOverline :: (MonadIO m, IsTextTag o) => o -> Overline -> m () Source #
Set the value of the “overline
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #overline:=
value ]
overlineRgba
This property modifies the color of overlines.
If not set, overlines will use the foreground color.
clearTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “overline-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#overlineRgba
constructTextTagOverlineRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “overline-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “overline-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #overlineRgba
setTextTagOverlineRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “overline-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #overlineRgba:=
value ]
overlineRgbaSet
No description available in the introspection data.
constructTextTagOverlineRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “overline-rgba-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagOverlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “overline-rgba-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #overlineRgbaSet
setTextTagOverlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “overline-rgba-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #overlineRgbaSet:=
value ]
overlineSet
No description available in the introspection data.
constructTextTagOverlineSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “overline-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagOverlineSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “overline-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #overlineSet
setTextTagOverlineSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “overline-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #overlineSet:=
value ]
paragraphBackground
The paragraph background color as a string.
clearTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “paragraph-background
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#paragraphBackground
constructTextTagParagraphBackground :: (IsTextTag o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “paragraph-background
” property. This is rarely needed directly, but it is used by new
.
setTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m () Source #
Set the value of the “paragraph-background
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #paragraphBackground:=
value ]
paragraphBackgroundRgba
The paragraph background color as a GdkRGBA
.
clearTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “paragraph-background-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#paragraphBackgroundRgba
constructTextTagParagraphBackgroundRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “paragraph-background-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “paragraph-background-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #paragraphBackgroundRgba
setTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “paragraph-background-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #paragraphBackgroundRgba:=
value ]
paragraphBackgroundSet
No description available in the introspection data.
constructTextTagParagraphBackgroundSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “paragraph-background-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “paragraph-background-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #paragraphBackgroundSet
setTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “paragraph-background-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #paragraphBackgroundSet:=
value ]
pixelsAboveLines
Pixels of blank space above paragraphs.
constructTextTagPixelsAboveLines :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-above-lines
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “pixels-above-lines
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsAboveLines
setTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “pixels-above-lines
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsAboveLines:=
value ]
pixelsAboveLinesSet
No description available in the introspection data.
constructTextTagPixelsAboveLinesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-above-lines-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “pixels-above-lines-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsAboveLinesSet
setTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “pixels-above-lines-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsAboveLinesSet:=
value ]
pixelsBelowLines
Pixels of blank space below paragraphs.
constructTextTagPixelsBelowLines :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-below-lines
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “pixels-below-lines
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsBelowLines
setTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “pixels-below-lines
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsBelowLines:=
value ]
pixelsBelowLinesSet
No description available in the introspection data.
constructTextTagPixelsBelowLinesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-below-lines-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “pixels-below-lines-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsBelowLinesSet
setTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “pixels-below-lines-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsBelowLinesSet:=
value ]
pixelsInsideWrap
Pixels of blank space between wrapped lines in a paragraph.
constructTextTagPixelsInsideWrap :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-inside-wrap
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “pixels-inside-wrap
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsInsideWrap
setTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “pixels-inside-wrap
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsInsideWrap:=
value ]
pixelsInsideWrapSet
No description available in the introspection data.
constructTextTagPixelsInsideWrapSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pixels-inside-wrap-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “pixels-inside-wrap-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #pixelsInsideWrapSet
setTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “pixels-inside-wrap-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #pixelsInsideWrapSet:=
value ]
rightMargin
Width of the right margin, in pixels.
constructTextTagRightMargin :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “right-margin
” property. This is rarely needed directly, but it is used by new
.
getTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “right-margin
” property.
When overloading is enabled, this is equivalent to
get
textTag #rightMargin
setTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “right-margin
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #rightMargin:=
value ]
rightMarginSet
No description available in the introspection data.
constructTextTagRightMarginSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “right-margin-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “right-margin-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #rightMarginSet
setTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “right-margin-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #rightMarginSet:=
value ]
rise
Offset of text above the baseline, in Pango units.
Negative values go below the baseline.
constructTextTagRise :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “rise
” property. This is rarely needed directly, but it is used by new
.
getTextTagRise :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “rise
” property.
When overloading is enabled, this is equivalent to
get
textTag #rise
setTextTagRise :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “rise
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #rise:=
value ]
riseSet
No description available in the introspection data.
constructTextTagRiseSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “rise-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “rise-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #riseSet
setTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “rise-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #riseSet:=
value ]
scale
Font size as a scale factor relative to the default font size.
This properly adapts to theme changes, etc. so is recommended.
Pango predefines some scales such as PANGO_SCALE_X_LARGE
.
constructTextTagScale :: (IsTextTag o, MonadIO m) => Double -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “scale
” property. This is rarely needed directly, but it is used by new
.
getTextTagScale :: (MonadIO m, IsTextTag o) => o -> m Double Source #
Get the value of the “scale
” property.
When overloading is enabled, this is equivalent to
get
textTag #scale
setTextTagScale :: (MonadIO m, IsTextTag o) => o -> Double -> m () Source #
Set the value of the “scale
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #scale:=
value ]
scaleSet
No description available in the introspection data.
constructTextTagScaleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “scale-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “scale-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #scaleSet
setTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “scale-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #scaleSet:=
value ]
sentence
Whether this tag represents a single sentence.
This affects cursor movement.
Since: 4.6
constructTextTagSentence :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “sentence
” property. This is rarely needed directly, but it is used by new
.
getTextTagSentence :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “sentence
” property.
When overloading is enabled, this is equivalent to
get
textTag #sentence
setTextTagSentence :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “sentence
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #sentence:=
value ]
sentenceSet
No description available in the introspection data.
constructTextTagSentenceSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “sentence-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagSentenceSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “sentence-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #sentenceSet
setTextTagSentenceSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “sentence-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #sentenceSet:=
value ]
showSpaces
How to render invisible characters.
constructTextTagShowSpaces :: (IsTextTag o, MonadIO m) => [ShowFlags] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “show-spaces
” property. This is rarely needed directly, but it is used by new
.
getTextTagShowSpaces :: (MonadIO m, IsTextTag o) => o -> m [ShowFlags] Source #
Get the value of the “show-spaces
” property.
When overloading is enabled, this is equivalent to
get
textTag #showSpaces
setTextTagShowSpaces :: (MonadIO m, IsTextTag o) => o -> [ShowFlags] -> m () Source #
Set the value of the “show-spaces
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #showSpaces:=
value ]
showSpacesSet
No description available in the introspection data.
constructTextTagShowSpacesSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “show-spaces-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagShowSpacesSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “show-spaces-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #showSpacesSet
setTextTagShowSpacesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “show-spaces-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #showSpacesSet:=
value ]
size
Font size in Pango units.
constructTextTagSize :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “size
” property. This is rarely needed directly, but it is used by new
.
getTextTagSize :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “size
” property.
When overloading is enabled, this is equivalent to
get
textTag #size
setTextTagSize :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “size
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #size:=
value ]
sizePoints
Font size in points.
constructTextTagSizePoints :: (IsTextTag o, MonadIO m) => Double -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “size-points
” property. This is rarely needed directly, but it is used by new
.
getTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> m Double Source #
Get the value of the “size-points
” property.
When overloading is enabled, this is equivalent to
get
textTag #sizePoints
setTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> Double -> m () Source #
Set the value of the “size-points
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #sizePoints:=
value ]
sizeSet
No description available in the introspection data.
constructTextTagSizeSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “size-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “size-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #sizeSet
setTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “size-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #sizeSet:=
value ]
stretch
Font stretch as a PangoStretch
, e.g. StretchCondensed
.
constructTextTagStretch :: (IsTextTag o, MonadIO m) => Stretch -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “stretch
” property. This is rarely needed directly, but it is used by new
.
getTextTagStretch :: (MonadIO m, IsTextTag o) => o -> m Stretch Source #
Get the value of the “stretch
” property.
When overloading is enabled, this is equivalent to
get
textTag #stretch
setTextTagStretch :: (MonadIO m, IsTextTag o) => o -> Stretch -> m () Source #
Set the value of the “stretch
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #stretch:=
value ]
stretchSet
No description available in the introspection data.
constructTextTagStretchSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “stretch-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “stretch-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #stretchSet
setTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “stretch-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #stretchSet:=
value ]
strikethrough
Whether to strike through the text.
constructTextTagStrikethrough :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “strikethrough
” property. This is rarely needed directly, but it is used by new
.
getTextTagStrikethrough :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “strikethrough
” property.
When overloading is enabled, this is equivalent to
get
textTag #strikethrough
setTextTagStrikethrough :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “strikethrough
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #strikethrough:=
value ]
strikethroughRgba
This property modifies the color of strikeouts.
If not set, strikeouts will use the foreground color.
clearTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “strikethrough-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#strikethroughRgba
constructTextTagStrikethroughRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “strikethrough-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “strikethrough-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #strikethroughRgba
setTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “strikethrough-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #strikethroughRgba:=
value ]
strikethroughRgbaSet
If the strikethrough-rgba
property has been set.
constructTextTagStrikethroughRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “strikethrough-rgba-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “strikethrough-rgba-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #strikethroughRgbaSet
setTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “strikethrough-rgba-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #strikethroughRgbaSet:=
value ]
strikethroughSet
No description available in the introspection data.
constructTextTagStrikethroughSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “strikethrough-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “strikethrough-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #strikethroughSet
setTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “strikethrough-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #strikethroughSet:=
value ]
style
Font style as a PangoStyle
, e.g. StyleItalic
.
constructTextTagStyle :: (IsTextTag o, MonadIO m) => Style -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “style
” property. This is rarely needed directly, but it is used by new
.
getTextTagStyle :: (MonadIO m, IsTextTag o) => o -> m Style Source #
Get the value of the “style
” property.
When overloading is enabled, this is equivalent to
get
textTag #style
setTextTagStyle :: (MonadIO m, IsTextTag o) => o -> Style -> m () Source #
Set the value of the “style
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #style:=
value ]
styleSet
No description available in the introspection data.
constructTextTagStyleSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “style-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagStyleSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “style-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #styleSet
setTextTagStyleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “style-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #styleSet:=
value ]
tabs
Custom tabs for this text.
clearTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “tabs
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#tabs
constructTextTagTabs :: (IsTextTag o, MonadIO m) => TabArray -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “tabs
” property. This is rarely needed directly, but it is used by new
.
getTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m (Maybe TabArray) Source #
Get the value of the “tabs
” property.
When overloading is enabled, this is equivalent to
get
textTag #tabs
setTextTagTabs :: (MonadIO m, IsTextTag o) => o -> TabArray -> m () Source #
Set the value of the “tabs
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #tabs:=
value ]
tabsSet
No description available in the introspection data.
constructTextTagTabsSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “tabs-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “tabs-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #tabsSet
setTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “tabs-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #tabsSet:=
value ]
textTransform
How to transform the text for display.
Since: 4.6
constructTextTagTextTransform :: (IsTextTag o, MonadIO m) => TextTransform -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “text-transform
” property. This is rarely needed directly, but it is used by new
.
getTextTagTextTransform :: (MonadIO m, IsTextTag o) => o -> m TextTransform Source #
Get the value of the “text-transform
” property.
When overloading is enabled, this is equivalent to
get
textTag #textTransform
setTextTagTextTransform :: (MonadIO m, IsTextTag o) => o -> TextTransform -> m () Source #
Set the value of the “text-transform
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #textTransform:=
value ]
textTransformSet
No description available in the introspection data.
constructTextTagTextTransformSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “text-transform-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagTextTransformSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “text-transform-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #textTransformSet
setTextTagTextTransformSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “text-transform-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #textTransformSet:=
value ]
underline
Style of underline for this text.
constructTextTagUnderline :: (IsTextTag o, MonadIO m) => Underline -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “underline
” property. This is rarely needed directly, but it is used by new
.
getTextTagUnderline :: (MonadIO m, IsTextTag o) => o -> m Underline Source #
Get the value of the “underline
” property.
When overloading is enabled, this is equivalent to
get
textTag #underline
setTextTagUnderline :: (MonadIO m, IsTextTag o) => o -> Underline -> m () Source #
Set the value of the “underline
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #underline:=
value ]
underlineRgba
This property modifies the color of underlines.
If not set, underlines will use the foreground color.
If TextTag:underline is set to UnderlineError
,
an alternate color may be applied instead of the foreground. Setting
this property will always override those defaults.
clearTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “underline-rgba
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#underlineRgba
constructTextTagUnderlineRgba :: (IsTextTag o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “underline-rgba
” property. This is rarely needed directly, but it is used by new
.
getTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA) Source #
Get the value of the “underline-rgba
” property.
When overloading is enabled, this is equivalent to
get
textTag #underlineRgba
setTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m () Source #
Set the value of the “underline-rgba
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #underlineRgba:=
value ]
underlineRgbaSet
If the underline-rgba
property has been set.
constructTextTagUnderlineRgbaSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “underline-rgba-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “underline-rgba-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #underlineRgbaSet
setTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “underline-rgba-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #underlineRgbaSet:=
value ]
underlineSet
No description available in the introspection data.
constructTextTagUnderlineSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “underline-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “underline-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #underlineSet
setTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “underline-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #underlineSet:=
value ]
variant
Font variant as a PangoVariant
, e.g. VariantSmallCaps
.
constructTextTagVariant :: (IsTextTag o, MonadIO m) => Variant -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “variant
” property. This is rarely needed directly, but it is used by new
.
getTextTagVariant :: (MonadIO m, IsTextTag o) => o -> m Variant Source #
Get the value of the “variant
” property.
When overloading is enabled, this is equivalent to
get
textTag #variant
setTextTagVariant :: (MonadIO m, IsTextTag o) => o -> Variant -> m () Source #
Set the value of the “variant
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #variant:=
value ]
variantSet
No description available in the introspection data.
constructTextTagVariantSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “variant-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “variant-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #variantSet
setTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “variant-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #variantSet:=
value ]
weight
Font weight as an integer.
constructTextTagWeight :: (IsTextTag o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “weight
” property. This is rarely needed directly, but it is used by new
.
getTextTagWeight :: (MonadIO m, IsTextTag o) => o -> m Int32 Source #
Get the value of the “weight
” property.
When overloading is enabled, this is equivalent to
get
textTag #weight
setTextTagWeight :: (MonadIO m, IsTextTag o) => o -> Int32 -> m () Source #
Set the value of the “weight
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #weight:=
value ]
weightSet
No description available in the introspection data.
constructTextTagWeightSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “weight-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “weight-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #weightSet
setTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “weight-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #weightSet:=
value ]
word
Whether this tag represents a single word.
This affects line breaks and cursor movement.
Since: 4.6
constructTextTagWord :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “word
” property. This is rarely needed directly, but it is used by new
.
getTextTagWord :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “word
” property.
When overloading is enabled, this is equivalent to
get
textTag #word
setTextTagWord :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “word
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #word:=
value ]
wordSet
No description available in the introspection data.
constructTextTagWordSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “word-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagWordSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “word-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #wordSet
setTextTagWordSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “word-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #wordSet:=
value ]
wrapMode
Whether to wrap lines never, at word boundaries, or at character boundaries.
constructTextTagWrapMode :: (IsTextTag o, MonadIO m) => WrapMode -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “wrap-mode
” property. This is rarely needed directly, but it is used by new
.
getTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> m WrapMode Source #
Get the value of the “wrap-mode
” property.
When overloading is enabled, this is equivalent to
get
textTag #wrapMode
setTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> WrapMode -> m () Source #
Set the value of the “wrap-mode
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #wrapMode:=
value ]
wrapModeSet
No description available in the introspection data.
constructTextTagWrapModeSet :: (IsTextTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “wrap-mode-set
” property. This is rarely needed directly, but it is used by new
.
getTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> m Bool Source #
Get the value of the “wrap-mode-set
” property.
When overloading is enabled, this is equivalent to
get
textTag #wrapModeSet
setTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m () Source #
Set the value of the “wrap-mode-set
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #wrapModeSet:=
value ]