Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
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.
Synopsis
- newtype TextTag = TextTag (ManagedPtr TextTag)
- class (GObject o, IsDescendantOf TextTag 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 :: MonadIO m => TextTagEventCallback -> m (GClosure C_TextTagEventCallback)
- mk_TextTagEventCallback :: C_TextTagEventCallback -> IO (FunPtr C_TextTagEventCallback)
- noTextTagEventCallback :: Maybe TextTagEventCallback
- onTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId
- wrap_TextTagEventCallback :: TextTagEventCallback -> C_TextTagEventCallback
Exported types
Memory-managed wrapper type.
Instances
GObject TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag gobjectType :: IO GType # | |
HasParentTypes TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag | |
type ParentTypes TextTag Source # | |
Defined in GI.Gtk.Objects.TextTag |
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
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
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).
Since: 2.12
constructTextTagAccumulativeMargin :: IsTextTag o => Bool -> IO (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 ]
background
No description available in the introspection data.
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 => Text -> IO (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
No description available in the introspection data.
constructTextTagBackgroundFullHeight :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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 ]
backgroundGdk
Background color as a Color
.
clearTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “background-gdk
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#backgroundGdk
constructTextTagBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “background-gdk
” property. This is rarely needed directly, but it is used by new
.
getTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color) Source #
Get the value of the “background-gdk
” property.
When overloading is enabled, this is equivalent to
get
textTag #backgroundGdk
setTextTagBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m () Source #
Set the value of the “background-gdk
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #backgroundGdk:=
value ]
backgroundRgba
Background color as a RGBA
.
Since: 3.2
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 => RGBA -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagDirection :: IsTextTag o => TextDirection -> IO (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
No description available in the introspection data.
constructTextTagEditable :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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.
Since: 3.16
constructTextTagFallback :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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
No description available in the introspection data.
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 => Text -> IO (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 => Bool -> IO (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 FontDescription
.
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 => Text -> IO (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
No description available in the introspection data.
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 => FontDescription -> IO (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.
Since: 3.18
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 => Text -> IO (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 => Bool -> IO (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
No description available in the introspection data.
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 => Text -> IO (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 ]
foregroundGdk
Foreground color as a Color
.
clearTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “foreground-gdk
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#foregroundGdk
constructTextTagForegroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “foreground-gdk
” property. This is rarely needed directly, but it is used by new
.
getTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color) Source #
Get the value of the “foreground-gdk
” property.
When overloading is enabled, this is equivalent to
get
textTag #foregroundGdk
setTextTagForegroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m () Source #
Set the value of the “foreground-gdk
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #foregroundGdk:=
value ]
foregroundRgba
Foreground color as a RGBA
.
Since: 3.2
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 => RGBA -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagIndent :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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 ]
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.
Since: 2.8
constructTextTagInvisible :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagJustification :: IsTextTag o => Justification -> IO (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 => Bool -> IO (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 => Text -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagLeftMargin :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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.
Since: 3.16
constructTextTagLetterSpacing :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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 ]
name
No description available in the introspection data.
constructTextTagName :: IsTextTag o => Text -> IO (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
paragraphBackground
The paragraph background color as a string.
Since: 2.8
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 => Text -> IO (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 ]
paragraphBackgroundGdk
The paragraph background color as a Color
.
Since: 2.8
clearTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m () Source #
Set the value of the “paragraph-background-gdk
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#paragraphBackgroundGdk
constructTextTagParagraphBackgroundGdk :: IsTextTag o => Color -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “paragraph-background-gdk
” property. This is rarely needed directly, but it is used by new
.
getTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> m (Maybe Color) Source #
Get the value of the “paragraph-background-gdk
” property.
When overloading is enabled, this is equivalent to
get
textTag #paragraphBackgroundGdk
setTextTagParagraphBackgroundGdk :: (MonadIO m, IsTextTag o) => o -> Color -> m () Source #
Set the value of the “paragraph-background-gdk
” property.
When overloading is enabled, this is equivalent to
set
textTag [ #paragraphBackgroundGdk:=
value ]
paragraphBackgroundRgba
The paragraph background color as a RGBA
.
Since: 3.2
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 => RGBA -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagPixelsAboveLines :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagPixelsBelowLines :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagPixelsInsideWrap :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagRightMargin :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagRise :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagScale :: IsTextTag o => Double -> IO (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 => Bool -> IO (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 ]
size
No description available in the introspection data.
constructTextTagSize :: IsTextTag o => Int32 -> IO (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
No description available in the introspection data.
constructTextTagSizePoints :: IsTextTag o => Double -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagStretch :: IsTextTag o => Stretch -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagStrikethrough :: IsTextTag o => Bool -> IO (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 forground color.
Since: 3.16
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 => RGBA -> IO (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 TextTag
:strikethrough-rgba
property has been set.
Since: 3.16
constructTextTagStrikethroughRgbaSet :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagStyle :: IsTextTag o => Style -> IO (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 => Bool -> IO (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
No description available in the introspection data.
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 => TabArray -> IO (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 => Bool -> IO (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 ]
underline
No description available in the introspection data.
constructTextTagUnderline :: IsTextTag o => Underline -> IO (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 forground 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.
Since: 3.16
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 => RGBA -> IO (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 TextTag
:underline-rgba
property has been set.
Since: 3.16
constructTextTagUnderlineRgbaSet :: IsTextTag o => Bool -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagVariant :: IsTextTag o => Variant -> IO (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 => Bool -> IO (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
No description available in the introspection data.
constructTextTagWeight :: IsTextTag o => Int32 -> IO (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 => Bool -> IO (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 ]
wrapMode
No description available in the introspection data.
constructTextTagWrapMode :: IsTextTag o => WrapMode -> IO (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 => Bool -> IO (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 ]
Signals
event
type C_TextTagEventCallback = Ptr () -> Ptr Object -> Ptr Event -> Ptr TextIter -> Ptr () -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type TextTagEventCallback Source #
= Object |
|
-> Event |
|
-> TextIter |
|
-> IO Bool | Returns: |
The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag.
afterTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId Source #
Connect a signal handler for the “event
” signal, to be run after the default handler.
When overloading is enabled, this is equivalent to
after
textTag #event callback
genClosure_TextTagEvent :: MonadIO m => TextTagEventCallback -> m (GClosure C_TextTagEventCallback) Source #
Wrap the callback into a GClosure
.
mk_TextTagEventCallback :: C_TextTagEventCallback -> IO (FunPtr C_TextTagEventCallback) Source #
Generate a function pointer callable from C code, from a C_TextTagEventCallback
.
noTextTagEventCallback :: Maybe TextTagEventCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TextTagEventCallback
onTextTagEvent :: (IsTextTag a, MonadIO m) => a -> TextTagEventCallback -> m SignalHandlerId Source #
Connect a signal handler for the “event
” signal, to be run before the default handler.
When overloading is enabled, this is equivalent to
on
textTag #event callback