Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- Properties
- accumulativeMargin
- background
- backgroundFullHeight
- backgroundFullHeightSet
- backgroundGdk
- backgroundRgba
- backgroundSet
- direction
- editable
- editableSet
- fallback
- fallbackSet
- family
- familySet
- font
- fontDesc
- fontFeatures
- fontFeaturesSet
- foreground
- foregroundGdk
- foregroundRgba
- foregroundSet
- indent
- indentSet
- invisible
- invisibleSet
- justification
- justificationSet
- language
- languageSet
- leftMargin
- leftMarginSet
- letterSpacing
- letterSpacingSet
- name
- paragraphBackground
- paragraphBackgroundGdk
- paragraphBackgroundRgba
- paragraphBackgroundSet
- pixelsAboveLines
- pixelsAboveLinesSet
- pixelsBelowLines
- pixelsBelowLinesSet
- pixelsInsideWrap
- pixelsInsideWrapSet
- rightMargin
- rightMarginSet
- rise
- riseSet
- scale
- scaleSet
- size
- sizePoints
- sizeSet
- stretch
- stretchSet
- strikethrough
- strikethroughRgba
- strikethroughRgbaSet
- strikethroughSet
- style
- styleSet
- tabs
- tabsSet
- underline
- underlineRgba
- underlineRgbaSet
- underlineSet
- variant
- variantSet
- weight
- weightSet
- wrapMode
- wrapModeSet
- Signals
You may wish to begin by reading the [text widget conceptual overview][TextWidget] 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 TextBuffer
before using them with that buffer.
gtk_text_buffer_create_tag()
is the best way to create tags.
See “gtk3-demo” for numerous examples.
For each property of TextTag
, 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.
- newtype TextTag = TextTag (ManagedPtr TextTag)
- class GObject o => IsTextTag o
- toTextTag :: (MonadIO m, IsTextTag o) => o -> m TextTag
- noTextTag :: Maybe TextTag
- textTagChanged :: (HasCallStack, MonadIO m, IsTextTag a) => a -> Bool -> m ()
- textTagEvent :: (HasCallStack, MonadIO m, IsTextTag a, IsObject b) => a -> b -> Event -> TextIter -> m Bool
- 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 => Bool -> IO (GValueConstruct o)
- getTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagAccumulativeMargin :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagBackground :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagBackground :: IsTextTag o => Text -> IO (GValueConstruct o)
- setTextTagBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagBackgroundFullHeight :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundFullHeight :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagBackgroundFullHeightSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundFullHeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- clearTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o)
- getTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color)
- setTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m ()
- clearTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagBackgroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o)
- getTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagBackgroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagDirection :: IsTextTag o => TextDirection -> IO (GValueConstruct o)
- getTextTagDirection :: (MonadIO m, IsTextTag o) => o -> m TextDirection
- setTextTagDirection :: (MonadIO m, IsTextTag o) => o -> TextDirection -> m ()
- constructTextTagEditable :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagEditable :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagEditable :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagEditableSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagEditableSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagFallback :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagFallback :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagFallback :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagFallbackSet :: IsTextTag o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagFamily :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagFamilySet :: IsTextTag o => Bool -> IO (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 => Text -> IO (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 => FontDescription -> IO (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 => Text -> IO (GValueConstruct o)
- getTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagFontFeaturesSet :: IsTextTag o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- setTextTagForeground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- clearTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagForegroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o)
- getTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color)
- setTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m ()
- clearTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagForegroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o)
- getTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagForegroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagForegroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagIndent :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagIndent :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagIndent :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagIndentSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagIndentSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInvisible :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInvisible :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagInvisibleSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagInvisibleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagJustification :: IsTextTag o => Justification -> IO (GValueConstruct o)
- getTextTagJustification :: (MonadIO m, IsTextTag o) => o -> m Justification
- setTextTagJustification :: (MonadIO m, IsTextTag o) => o -> Justification -> m ()
- constructTextTagJustificationSet :: IsTextTag o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- setTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- constructTextTagLanguageSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLanguageSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagLeftMargin :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagLeftMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagLeftMarginSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLeftMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagLetterSpacing :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagLetterSpacing :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagLetterSpacingSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagLetterSpacingSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagName :: IsTextTag o => Text -> IO (GValueConstruct o)
- getTextTagName :: (MonadIO m, IsTextTag o) => o -> m (Maybe Text)
- clearTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagParagraphBackground :: IsTextTag o => Text -> IO (GValueConstruct o)
- setTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> Text -> m ()
- clearTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagParagraphBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o)
- getTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color)
- setTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m ()
- clearTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m ()
- constructTextTagParagraphBackgroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o)
- getTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagParagraphBackgroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagParagraphBackgroundSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsAboveLines :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsAboveLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsAboveLinesSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsAboveLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsBelowLines :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsBelowLines :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsBelowLinesSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsBelowLinesSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagPixelsInsideWrap :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagPixelsInsideWrap :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagPixelsInsideWrapSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagPixelsInsideWrapSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagRightMargin :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagRightMargin :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagRightMarginSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagRightMarginSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagRise :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagRise :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagRise :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagRiseSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagRiseSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagScale :: IsTextTag o => Double -> IO (GValueConstruct o)
- getTextTagScale :: (MonadIO m, IsTextTag o) => o -> m Double
- setTextTagScale :: (MonadIO m, IsTextTag o) => o -> Double -> m ()
- constructTextTagScaleSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagScaleSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagSize :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagSize :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagSize :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagSizePoints :: IsTextTag o => Double -> IO (GValueConstruct o)
- getTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> m Double
- setTextTagSizePoints :: (MonadIO m, IsTextTag o) => o -> Double -> m ()
- constructTextTagSizeSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagSizeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStretch :: IsTextTag o => Stretch -> IO (GValueConstruct o)
- getTextTagStretch :: (MonadIO m, IsTextTag o) => o -> m Stretch
- setTextTagStretch :: (MonadIO m, IsTextTag o) => o -> Stretch -> m ()
- constructTextTagStretchSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStretchSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStrikethrough :: IsTextTag o => Bool -> IO (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 => RGBA -> IO (GValueConstruct o)
- getTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagStrikethroughRgbaSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStrikethroughRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStrikethroughSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagStrikethroughSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagStyle :: IsTextTag o => Style -> IO (GValueConstruct o)
- getTextTagStyle :: (MonadIO m, IsTextTag o) => o -> m Style
- setTextTagStyle :: (MonadIO m, IsTextTag o) => o -> Style -> m ()
- constructTextTagStyleSet :: IsTextTag o => Bool -> IO (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 => TabArray -> IO (GValueConstruct o)
- getTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m (Maybe TabArray)
- setTextTagTabs :: (MonadIO m, IsTextTag o) => o -> TabArray -> m ()
- constructTextTagTabsSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagTabsSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagUnderline :: IsTextTag o => Underline -> IO (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 => RGBA -> IO (GValueConstruct o)
- getTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m (Maybe RGBA)
- setTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> RGBA -> m ()
- constructTextTagUnderlineRgbaSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagUnderlineRgbaSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagUnderlineSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagUnderlineSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagVariant :: IsTextTag o => Variant -> IO (GValueConstruct o)
- getTextTagVariant :: (MonadIO m, IsTextTag o) => o -> m Variant
- setTextTagVariant :: (MonadIO m, IsTextTag o) => o -> Variant -> m ()
- constructTextTagVariantSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagVariantSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWeight :: IsTextTag o => Int32 -> IO (GValueConstruct o)
- getTextTagWeight :: (MonadIO m, IsTextTag o) => o -> m Int32
- setTextTagWeight :: (MonadIO m, IsTextTag o) => o -> Int32 -> m ()
- constructTextTagWeightSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWeightSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- constructTextTagWrapMode :: IsTextTag o => WrapMode -> IO (GValueConstruct o)
- getTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> m WrapMode
- setTextTagWrapMode :: (MonadIO m, IsTextTag o) => o -> WrapMode -> m ()
- constructTextTagWrapModeSet :: IsTextTag o => Bool -> IO (GValueConstruct o)
- getTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> m Bool
- setTextTagWrapModeSet :: (MonadIO m, IsTextTag o) => o -> Bool -> m ()
- type C_TextTagEventCallback = Ptr () -> Ptr Object -> Ptr Event -> Ptr TextIter -> Ptr () -> IO CInt
- type TextTagEventCallback = Object -> Event -> TextIter -> IO Bool
- afterTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId
- genClosure_TextTagEvent :: TextTagEventCallback -> IO Closure
- mk_TextTagEventCallback :: C_TextTagEventCallback -> IO (FunPtr C_TextTagEventCallback)
- noTextTagEventCallback :: Maybe TextTagEventCallback
- onTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId
- wrap_TextTagEventCallback :: TextTagEventCallback -> Ptr () -> Ptr Object -> Ptr Event -> Ptr TextIter -> Ptr () -> IO CInt
Exported types
Methods
changed
:: (HasCallStack, MonadIO m, IsTextTag a) | |
=> a |
|
-> Bool |
|
-> m () |
Emits the TextTagTable
::tag-changed
signal on the TextTagTable
where
the tag is included.
The signal is already emitted when setting a TextTag
property. This
function is useful for a TextTag
subclass.
Since: 3.20
event
:: (HasCallStack, MonadIO m, IsTextTag a, IsObject b) | |
=> a |
|
-> b |
|
-> Event |
|
-> TextIter |
|
-> m Bool | Returns: result of signal emission (whether the event was handled) |
Emits the “event” signal on the TextTag
.
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 TextTag
. Configure the tag using object arguments,
i.e. using g_object_set()
.
setPriority
:: (HasCallStack, MonadIO m, IsTextTag a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the priority of a TextTag
. 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
gtk_text_buffer_create_tag()
, which adds the tag to the buffer’s table
automatically.
Properties
accumulativeMargin
constructTextTagAccumulativeMargin :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
background
clearTextTagBackground :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagBackground :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
backgroundFullHeight
constructTextTagBackgroundFullHeight :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
backgroundFullHeightSet
constructTextTagBackgroundFullHeightSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
backgroundGdk
clearTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
backgroundRgba
clearTextTagBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagBackgroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o) Source #
backgroundSet
constructTextTagBackgroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
direction
constructTextTagDirection :: IsTextTag o => TextDirection -> IO (GValueConstruct o) Source #
getTextTagDirection :: (MonadIO m, IsTextTag o) => o -> m TextDirection Source #
setTextTagDirection :: (MonadIO m, IsTextTag o) => o -> TextDirection -> m () Source #
editable
constructTextTagEditable :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
editableSet
constructTextTagEditableSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
fallback
constructTextTagFallback :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
fallbackSet
constructTextTagFallbackSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
family
clearTextTagFamily :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagFamily :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
familySet
constructTextTagFamilySet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
font
clearTextTagFont :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagFont :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
fontDesc
clearTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagFontDesc :: IsTextTag o => FontDescription -> IO (GValueConstruct o) Source #
getTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> m (Maybe FontDescription) Source #
setTextTagFontDesc :: (MonadIO m, IsTextTag o) => o -> FontDescription -> m () Source #
fontFeatures
clearTextTagFontFeatures :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagFontFeatures :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
fontFeaturesSet
constructTextTagFontFeaturesSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
foreground
clearTextTagForeground :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagForeground :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
foregroundGdk
clearTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagForegroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
foregroundRgba
clearTextTagForegroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagForegroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o) Source #
foregroundSet
constructTextTagForegroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
indent
constructTextTagIndent :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
indentSet
constructTextTagIndentSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
invisible
constructTextTagInvisible :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
invisibleSet
constructTextTagInvisibleSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
justification
constructTextTagJustification :: IsTextTag o => Justification -> IO (GValueConstruct o) Source #
getTextTagJustification :: (MonadIO m, IsTextTag o) => o -> m Justification Source #
setTextTagJustification :: (MonadIO m, IsTextTag o) => o -> Justification -> m () Source #
justificationSet
constructTextTagJustificationSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
language
clearTextTagLanguage :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagLanguage :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
languageSet
constructTextTagLanguageSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
leftMargin
constructTextTagLeftMargin :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
leftMarginSet
constructTextTagLeftMarginSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
letterSpacing
constructTextTagLetterSpacing :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
letterSpacingSet
constructTextTagLetterSpacingSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
name
constructTextTagName :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
paragraphBackground
clearTextTagParagraphBackground :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagParagraphBackground :: IsTextTag o => Text -> IO (GValueConstruct o) Source #
paragraphBackgroundGdk
clearTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagParagraphBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
paragraphBackgroundRgba
clearTextTagParagraphBackgroundRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagParagraphBackgroundRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o) Source #
paragraphBackgroundSet
constructTextTagParagraphBackgroundSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
pixelsAboveLines
constructTextTagPixelsAboveLines :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
pixelsAboveLinesSet
constructTextTagPixelsAboveLinesSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
pixelsBelowLines
constructTextTagPixelsBelowLines :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
pixelsBelowLinesSet
constructTextTagPixelsBelowLinesSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
pixelsInsideWrap
constructTextTagPixelsInsideWrap :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
pixelsInsideWrapSet
constructTextTagPixelsInsideWrapSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
rightMargin
constructTextTagRightMargin :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
rightMarginSet
constructTextTagRightMarginSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
rise
constructTextTagRise :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
riseSet
constructTextTagRiseSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
scale
constructTextTagScale :: IsTextTag o => Double -> IO (GValueConstruct o) Source #
scaleSet
constructTextTagScaleSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
size
constructTextTagSize :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
sizePoints
constructTextTagSizePoints :: IsTextTag o => Double -> IO (GValueConstruct o) Source #
sizeSet
constructTextTagSizeSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
stretch
constructTextTagStretch :: IsTextTag o => Stretch -> IO (GValueConstruct o) Source #
stretchSet
constructTextTagStretchSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
strikethrough
constructTextTagStrikethrough :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
strikethroughRgba
clearTextTagStrikethroughRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagStrikethroughRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o) Source #
strikethroughRgbaSet
constructTextTagStrikethroughRgbaSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
strikethroughSet
constructTextTagStrikethroughSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
style
constructTextTagStyle :: IsTextTag o => Style -> IO (GValueConstruct o) Source #
styleSet
constructTextTagStyleSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
tabs
clearTextTagTabs :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagTabs :: IsTextTag o => TabArray -> IO (GValueConstruct o) Source #
tabsSet
constructTextTagTabsSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
underline
constructTextTagUnderline :: IsTextTag o => Underline -> IO (GValueConstruct o) Source #
underlineRgba
clearTextTagUnderlineRgba :: (MonadIO m, IsTextTag o) => o -> m () Source #
constructTextTagUnderlineRgba :: IsTextTag o => RGBA -> IO (GValueConstruct o) Source #
underlineRgbaSet
constructTextTagUnderlineRgbaSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
underlineSet
constructTextTagUnderlineSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
variant
constructTextTagVariant :: IsTextTag o => Variant -> IO (GValueConstruct o) Source #
variantSet
constructTextTagVariantSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
weight
constructTextTagWeight :: IsTextTag o => Int32 -> IO (GValueConstruct o) Source #
weightSet
constructTextTagWeightSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
wrapMode
constructTextTagWrapMode :: IsTextTag o => WrapMode -> IO (GValueConstruct o) Source #
wrapModeSet
constructTextTagWrapModeSet :: IsTextTag o => Bool -> IO (GValueConstruct o) Source #
Signals
event
type C_TextTagEventCallback = Ptr () -> Ptr Object -> Ptr Event -> Ptr TextIter -> Ptr () -> IO CInt Source #
afterTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId Source #
onTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId Source #