Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

accumulativeMargin?: boolean

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).

allowBreaks?: boolean

Whether breaks are allowed.

allowBreaksSet?: boolean
background?: string

Background color as a string.

backgroundFullHeight?: boolean

Whether the background color fills the entire line height or only the height of the tagged characters.

backgroundFullHeightSet?: boolean
backgroundRgba?: Gdk.RGBA

Background color as a GdkRGBA.

backgroundSet?: boolean
direction?: Gtk.TextDirection

Text direction, e.g. right-to-left or left-to-right.

editable?: boolean

Whether the text can be modified by the user.

editableSet?: boolean
fallback?: boolean

Whether font fallback is enabled.

When set to %TRUE, other fonts will be substituted where the current font is missing glyphs.

fallbackSet?: boolean
family?: string

Name of the font family, e.g. Sans, Helvetica, Times, Monospace.

familySet?: boolean
font?: string

Font description as string, e.g. "Sans Italic 12".

Note that the initial value of this property depends on the internals of PangoFontDescription.

fontDesc?: FontDescription

Font description as a PangoFontDescription.

fontFeatures?: string

OpenType font features, as a string.

fontFeaturesSet?: boolean
foreground?: string

Foreground color as a string.

foregroundRgba?: Gdk.RGBA

Foreground color as a GdkRGBA.

foregroundSet?: boolean
indent?: number

Amount to indent the paragraph, in pixels.

indentSet?: boolean
insertHyphens?: boolean

Whether to insert hyphens at breaks.

insertHyphensSet?: boolean
invisible?: boolean

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.

invisibleSet?: boolean
justification?: Gtk.Justification

Left, right, or center justification.

justificationSet?: boolean
language?: string

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 [funcGtk.get_default_language].

languageSet?: boolean
leftMargin?: number

Width of the left margin in pixels.

leftMarginSet?: boolean
letterSpacing?: number

Extra spacing between graphemes, in Pango units.

letterSpacingSet?: boolean
lineHeight?: number
lineHeightSet?: boolean
name?: string

The name used to refer to the tag.

%NULL for anonymous tags.

overline?: Overline

Style of overline for this text.

overlineRgba?: Gdk.RGBA

This property modifies the color of overlines.

If not set, overlines will use the foreground color.

overlineRgbaSet?: boolean
overlineSet?: boolean
paragraphBackground?: string

The paragraph background color as a string.

paragraphBackgroundRgba?: Gdk.RGBA

The paragraph background color as a GdkRGBA.

paragraphBackgroundSet?: boolean
pixelsAboveLines?: number

Pixels of blank space above paragraphs.

pixelsAboveLinesSet?: boolean
pixelsBelowLines?: number

Pixels of blank space below paragraphs.

pixelsBelowLinesSet?: boolean
pixelsInsideWrap?: number

Pixels of blank space between wrapped lines in a paragraph.

pixelsInsideWrapSet?: boolean
rightMargin?: number

Width of the right margin, in pixels.

rightMarginSet?: boolean
rise?: number

Offset of text above the baseline, in Pango units.

Negative values go below the baseline.

riseSet?: boolean
scale?: number

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.

scaleSet?: boolean
sentence?: boolean

Whether this tag represents a single sentence.

This affects cursor movement.

sentenceSet?: boolean
showSpaces?: ShowFlags

How to render invisible characters.

showSpacesSet?: boolean
size?: number

Font size in Pango units.

sizePoints?: number

Font size in points.

sizeSet?: boolean
stretch?: Stretch

Font stretch as a PangoStretch, e.g. %PANGO_STRETCH_CONDENSED.

stretchSet?: boolean
strikethrough?: boolean

Whether to strike through the text.

strikethroughRgba?: Gdk.RGBA

This property modifies the color of strikeouts.

If not set, strikeouts will use the foreground color.

strikethroughRgbaSet?: boolean

If the strikethrough-rgba property has been set.

strikethroughSet?: boolean
style?: Pango.Style

Font style as a PangoStyle, e.g. %PANGO_STYLE_ITALIC.

styleSet?: boolean
tabs?: TabArray

Custom tabs for this text.

tabsSet?: boolean
textTransform?: TextTransform

How to transform the text for display.

textTransformSet?: boolean
underline?: Underline

Style of underline for this text.

underlineRgba?: Gdk.RGBA

This property modifies the color of underlines.

If not set, underlines will use the foreground color.

If [propertyGtk.TextTag:underline] is set to %PANGO_UNDERLINE_ERROR, an alternate color may be applied instead of the foreground. Setting this property will always override those defaults.

underlineRgbaSet?: boolean

If the underline-rgba property has been set.

underlineSet?: boolean
variant?: Pango.Variant

Font variant as a PangoVariant, e.g. %PANGO_VARIANT_SMALL_CAPS.

variantSet?: boolean
weight?: number

Font weight as an integer.

weightSet?: boolean
word?: boolean

Whether this tag represents a single word.

This affects line breaks and cursor movement.

wordSet?: boolean
wrapMode?: Gtk.WrapMode

Whether to wrap lines never, at word boundaries, or at character boundaries.

wrapModeSet?: boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method