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

background?: string
backgroundFullHeight?: boolean
backgroundFullHeightSet?: boolean
backgroundGdk?: Gdk.Color

Background color as a #GdkColor.

backgroundRgba?: Gdk.RGBA

Background color as a #GdkRGBA.

backgroundSet?: boolean
direction?: Gtk.TextDirection
drawSpaces?: boolean

Whether to draw white spaces. This property takes precedence over the value defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property (only where the tag is applied).

Setting this property also changes #GtkSourceTag:draw-spaces-set to %TRUE.

drawSpacesSet?: boolean

Whether the #GtkSourceTag:draw-spaces property is set and must be taken into account.

editable?: boolean
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
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
fontFeatures?: string

OpenType font features, as a string.

fontFeaturesSet?: boolean
foreground?: string
foregroundGdk?: Gdk.Color

Foreground color as a #GdkColor.

foregroundRgba?: Gdk.RGBA

Foreground color as a #GdkRGBA.

foregroundSet?: boolean
indent?: number
indentSet?: 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
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 gtk_get_default_language().

languageSet?: boolean
leftMargin?: number
leftMarginSet?: boolean
letterSpacing?: number

Extra spacing between graphemes, in Pango units.

letterSpacingSet?: boolean
name?: string
paragraphBackground?: string

The paragraph background color as a string.

paragraphBackgroundGdk?: Gdk.Color

The paragraph background color as a #GdkColor.

paragraphBackgroundRgba?: Gdk.RGBA

The paragraph background color as a #GdkRGBA.

paragraphBackgroundSet?: boolean
pixelsAboveLines?: number
pixelsAboveLinesSet?: boolean
pixelsBelowLines?: number
pixelsBelowLinesSet?: boolean
pixelsInsideWrap?: number
pixelsInsideWrapSet?: boolean
rightMargin?: number
rightMarginSet?: boolean
rise?: number
riseSet?: boolean
scale?: number
scaleSet?: boolean
size?: number
sizePoints?: number
sizeSet?: boolean
stretch?: Stretch
stretchSet?: boolean
strikethrough?: boolean
strikethroughRgba?: Gdk.RGBA

This property modifies the color of strikeouts. If not set, strikeouts will use the forground color.

strikethroughRgbaSet?: boolean

If the #GtkTextTag:strikethrough-rgba property has been set.

strikethroughSet?: boolean
style?: Pango.Style
styleSet?: boolean
tabs?: TabArray
tabsSet?: boolean
underline?: Underline
underlineRgba?: Gdk.RGBA

This property modifies the color of underlines. If not set, underlines will use the forground color.

If #GtkTextTag: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 #GtkTextTag:underline-rgba property has been set.

underlineSet?: boolean
variant?: Pango.Variant
variantSet?: boolean
weight?: number
weightSet?: boolean
wrapMode?: Gtk.WrapMode
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