Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

accumulative_margin?: 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).

allow_breaks?: boolean

Whether breaks are allowed.

allow_breaks_set?: boolean
background?: string

Background color as a string.

background_full_height?: boolean

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

background_full_height_set?: boolean
background_rgba?: Gdk.RGBA

Background color as a GdkRGBA.

background_set?: boolean
direction?: Gtk.TextDirection

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

draw_spaces?: boolean

Whether to draw white spaces.

This property takes precedence over the value defined by the [classSpaceDrawer]'s [propertySpaceDrawer:matrix] property (only where the tag is applied).

Setting this property also changes [propertyTag:draw-spaces-set] to %TRUE.

draw_spaces_set?: boolean

Whether the [propertyTag:draw-spaces] property is set and must be taken into account.

editable?: boolean

Whether the text can be modified by the user.

editable_set?: boolean
fallback?: boolean

Whether font fallback is enabled.

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

fallback_set?: boolean
family?: string

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

family_set?: 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.

font_desc?: FontDescription

Font description as a PangoFontDescription.

font_features?: string

OpenType font features, as a string.

font_features_set?: boolean
foreground?: string

Foreground color as a string.

foreground_rgba?: Gdk.RGBA

Foreground color as a GdkRGBA.

foreground_set?: boolean
indent?: number

Amount to indent the paragraph, in pixels.

indent_set?: boolean
insert_hyphens?: boolean

Whether to insert hyphens at breaks.

insert_hyphens_set?: 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.

invisible_set?: boolean
justification?: Gtk.Justification

Left, right, or center justification.

justification_set?: 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].

language_set?: boolean
left_margin?: number

Width of the left margin in pixels.

left_margin_set?: boolean
letter_spacing?: number

Extra spacing between graphemes, in Pango units.

letter_spacing_set?: boolean
line_height?: number
line_height_set?: boolean
name?: string

The name used to refer to the tag.

%NULL for anonymous tags.

overline?: Overline

Style of overline for this text.

overline_rgba?: Gdk.RGBA

This property modifies the color of overlines.

If not set, overlines will use the foreground color.

overline_rgba_set?: boolean
overline_set?: boolean
paragraph_background?: string

The paragraph background color as a string.

paragraph_background_rgba?: Gdk.RGBA

The paragraph background color as a GdkRGBA.

paragraph_background_set?: boolean
pixels_above_lines?: number

Pixels of blank space above paragraphs.

pixels_above_lines_set?: boolean
pixels_below_lines?: number

Pixels of blank space below paragraphs.

pixels_below_lines_set?: boolean
pixels_inside_wrap?: number

Pixels of blank space between wrapped lines in a paragraph.

pixels_inside_wrap_set?: boolean
right_margin?: number

Width of the right margin, in pixels.

right_margin_set?: boolean
rise?: number

Offset of text above the baseline, in Pango units.

Negative values go below the baseline.

rise_set?: 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.

scale_set?: boolean
sentence?: boolean

Whether this tag represents a single sentence.

This affects cursor movement.

sentence_set?: boolean
show_spaces?: ShowFlags

How to render invisible characters.

show_spaces_set?: boolean
size?: number

Font size in Pango units.

size_points?: number

Font size in points.

size_set?: boolean
stretch?: Stretch

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

stretch_set?: boolean
strikethrough?: boolean

Whether to strike through the text.

strikethrough_rgba?: Gdk.RGBA

This property modifies the color of strikeouts.

If not set, strikeouts will use the foreground color.

strikethrough_rgba_set?: boolean

If the strikethrough-rgba property has been set.

strikethrough_set?: boolean
style?: Pango.Style

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

style_set?: boolean
tabs?: TabArray

Custom tabs for this text.

tabs_set?: boolean
text_transform?: TextTransform

How to transform the text for display.

text_transform_set?: boolean
underline?: Underline

Style of underline for this text.

underline_rgba?: 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.

underline_rgba_set?: boolean

If the underline-rgba property has been set.

underline_set?: boolean
variant?: Pango.Variant

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

variant_set?: boolean
weight?: number

Font weight as an integer.

weight_set?: boolean
word?: boolean

Whether this tag represents a single word.

This affects line breaks and cursor movement.

word_set?: boolean
wrap_mode?: Gtk.WrapMode

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

wrap_mode_set?: 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