TextTagPropertyName
public enum TextTagPropertyName : String, PropertyNameProtocol
Undocumented
-
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 tofalse
the margins override one another (the default).Declaration
Swift
case accumulativeMargin = "accumulative-margin"
-
Whether breaks are allowed.
Declaration
Swift
case allowBreaks = "allow-breaks"
-
Undocumented
Declaration
Swift
case allowBreaksSet = "allow-breaks-set"
-
Background color as a string.
Declaration
Swift
case background = "background"
-
Whether the background color fills the entire line height or only the height of the tagged characters.
Declaration
Swift
case backgroundFullHeight = "background-full-height"
-
Undocumented
Declaration
Swift
case backgroundFullHeightSet = "background-full-height-set"
-
Background color as a
GdkRGBA
.Declaration
Swift
case backgroundRgba = "background-rgba"
-
Undocumented
Declaration
Swift
case backgroundSet = "background-set"
-
Text direction, e.g. right-to-left or left-to-right.
Declaration
Swift
case direction = "direction"
-
Whether the text can be modified by the user.
Declaration
Swift
case editable = "editable"
-
Undocumented
Declaration
Swift
case editableSet = "editable-set"
-
Whether font fallback is enabled.
When set to
true
, other fonts will be substituted where the current font is missing glyphs.Declaration
Swift
case fallback = "fallback"
-
Undocumented
Declaration
Swift
case fallbackSet = "fallback-set"
-
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
Declaration
Swift
case family = "family"
-
Undocumented
Declaration
Swift
case familySet = "family-set"
-
Font description as string, e.g. \“Sans Italic 12\”.
Note that the initial value of this property depends on the internals of
PangoFontDescription
.Declaration
Swift
case font = "font"
-
Font description as a
PangoFontDescription
.Declaration
Swift
case fontDesc = "font-desc"
-
OpenType font features, as a string.
Declaration
Swift
case fontFeatures = "font-features"
-
Undocumented
Declaration
Swift
case fontFeaturesSet = "font-features-set"
-
Foreground color as a string.
Declaration
Swift
case foreground = "foreground"
-
Foreground color as a
GdkRGBA
.Declaration
Swift
case foregroundRgba = "foreground-rgba"
-
Undocumented
Declaration
Swift
case foregroundSet = "foreground-set"
-
Amount to indent the paragraph, in pixels.
Declaration
Swift
case indent = "indent"
-
Undocumented
Declaration
Swift
case indentSet = "indent-set"
-
Whether to insert hyphens at breaks.
Declaration
Swift
case insertHyphens = "insert-hyphens"
-
Undocumented
Declaration
Swift
case insertHyphensSet = "insert-hyphens-set"
-
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.
Declaration
Swift
case invisible = "invisible"
-
Undocumented
Declaration
Swift
case invisibleSet = "invisible-set"
-
Left, right, or center justification.
Declaration
Swift
case justification = "justification"
-
Undocumented
Declaration
Swift
case justificationSet = "justification-set"
-
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 [func
Gtk.get_default_language
].Declaration
Swift
case language = "language"
-
Undocumented
Declaration
Swift
case languageSet = "language-set"
-
Width of the left margin in pixels.
Declaration
Swift
case leftMargin = "left-margin"
-
Undocumented
Declaration
Swift
case leftMarginSet = "left-margin-set"
-
Extra spacing between graphemes, in Pango units.
Declaration
Swift
case letterSpacing = "letter-spacing"
-
Undocumented
Declaration
Swift
case letterSpacingSet = "letter-spacing-set"
-
The name used to refer to the tag.
nil
for anonymous tags.Declaration
Swift
case name = "name"
-
Style of overline for this text.
Declaration
Swift
case overline = "overline"
-
This property modifies the color of overlines.
If not set, overlines will use the foreground color.
Declaration
Swift
case overlineRgba = "overline-rgba"
-
Undocumented
Declaration
Swift
case overlineRgbaSet = "overline-rgba-set"
-
Undocumented
Declaration
Swift
case overlineSet = "overline-set"
-
The paragraph background color as a string.
Declaration
Swift
case paragraphBackground = "paragraph-background"
-
The paragraph background color as a
GdkRGBA
.Declaration
Swift
case paragraphBackgroundRgba = "paragraph-background-rgba"
-
Undocumented
Declaration
Swift
case paragraphBackgroundSet = "paragraph-background-set"
-
Pixels of blank space above paragraphs.
Declaration
Swift
case pixelsAboveLines = "pixels-above-lines"
-
Undocumented
Declaration
Swift
case pixelsAboveLinesSet = "pixels-above-lines-set"
-
Pixels of blank space below paragraphs.
Declaration
Swift
case pixelsBelowLines = "pixels-below-lines"
-
Undocumented
Declaration
Swift
case pixelsBelowLinesSet = "pixels-below-lines-set"
-
Pixels of blank space between wrapped lines in a paragraph.
Declaration
Swift
case pixelsInsideWrap = "pixels-inside-wrap"
-
Undocumented
Declaration
Swift
case pixelsInsideWrapSet = "pixels-inside-wrap-set"
-
Width of the right margin, in pixels.
Declaration
Swift
case rightMargin = "right-margin"
-
Undocumented
Declaration
Swift
case rightMarginSet = "right-margin-set"
-
Offset of text above the baseline, in Pango units.
Negative values go below the baseline.
Declaration
Swift
case rise = "rise"
-
Undocumented
Declaration
Swift
case riseSet = "rise-set"
-
Font size as a scale factor relative to the default font size.
This properly adapts to theme changes, etc. so is recommended. Pango predefines some scales such as
PANGO_SCALE_X_LARGE
.Declaration
Swift
case scale = "scale"
-
Undocumented
Declaration
Swift
case scaleSet = "scale-set"
-
How to render invisible characters.
Declaration
Swift
case showSpaces = "show-spaces"
-
Undocumented
Declaration
Swift
case showSpacesSet = "show-spaces-set"
-
Font size in Pango units.
Declaration
Swift
case size = "size"
-
Font size in points.
Declaration
Swift
case sizePoints = "size-points"
-
Undocumented
Declaration
Swift
case sizeSet = "size-set"
-
Font stretch as a
PangoStretch
, e.g.PANGO_STRETCH_CONDENSED
.Declaration
Swift
case stretch = "stretch"
-
Undocumented
Declaration
Swift
case stretchSet = "stretch-set"
-
Whether to strike through the text.
Declaration
Swift
case strikethrough = "strikethrough"
-
This property modifies the color of strikeouts.
If not set, strikeouts will use the foreground color.
Declaration
Swift
case strikethroughRgba = "strikethrough-rgba"
-
If the
strikethrough-rgba
property has been set.Declaration
Swift
case strikethroughRgbaSet = "strikethrough-rgba-set"
-
Undocumented
Declaration
Swift
case strikethroughSet = "strikethrough-set"
-
Font style as a
PangoStyle
, e.g.PANGO_STYLE_ITALIC
.Declaration
Swift
case style = "style"
-
Undocumented
Declaration
Swift
case styleSet = "style-set"
-
Custom tabs for this text.
Declaration
Swift
case tabs = "tabs"
-
Undocumented
Declaration
Swift
case tabsSet = "tabs-set"
-
Style of underline for this text.
Declaration
Swift
case underline = "underline"
-
This property modifies the color of underlines.
If not set, underlines will use the foreground color.
If [property
Gtk.TextTag:underline
] is set toPANGO_UNDERLINE_ERROR
, an alternate color may be applied instead of the foreground. Setting this property will always override those defaults.Declaration
Swift
case underlineRgba = "underline-rgba"
-
If the
underline-rgba
property has been set.Declaration
Swift
case underlineRgbaSet = "underline-rgba-set"
-
Undocumented
Declaration
Swift
case underlineSet = "underline-set"
-
Font variant as a
PangoVariant
, e.g.PANGO_VARIANT_SMALL_CAPS
.Declaration
Swift
case variant = "variant"
-
Undocumented
Declaration
Swift
case variantSet = "variant-set"
-
Font weight as an integer.
Declaration
Swift
case weight = "weight"
-
Undocumented
Declaration
Swift
case weightSet = "weight-set"
-
Whether to wrap lines never, at word boundaries, or at character boundaries.
Declaration
Swift
case wrapMode = "wrap-mode"
-
Undocumented
Declaration
Swift
case wrapModeSet = "wrap-mode-set"