Gjsify LogoGjsify Logo

Using #GtkTextAttributes directly should rarely be necessary. It’s primarily useful with gtk_text_iter_get_attributes(). As with most GTK+ structs, the fields in this struct should only be read, never modified directly.

record

Hierarchy

  • TextAttributes

Index

Constructors

Properties

appearance: Gtk.TextAppearance

#GtkTextAppearance for text.

field
bg_full_height: number

Background is fit to full line height rather than baseline +/- ascent/descent (font height).

field
direction: Gtk.TextDirection

#GtkTextDirection for text.

field
editable: number

Can edit this text.

field

#PangoFontDescription for text.

field
font_scale: number

Font scale factor.

field
indent: number

Amount to indent the paragraph, in pixels.

field
invisible: number

Hide the text.

field
justification: Gtk.Justification

#GtkJustification for text.

field
language: Pango.Language

#PangoLanguage for text.

field
left_margin: number

Width of the left margin in pixels.

field
letter_spacing: number

Extra space to insert between graphemes, in Pango units

field
no_fallback: number

Whether to disable font fallback.

field
pixels_above_lines: number

Pixels of blank space above paragraphs.

field
pixels_below_lines: number

Pixels of blank space below paragraphs.

field
pixels_inside_wrap: number

Pixels of blank space between wrapped lines in a paragraph.

field
right_margin: number

Width of the right margin in pixels.

field
tabs: TabArray

Custom #PangoTabArray for this text.

field
wrap_mode: Gtk.WrapMode

#GtkWrapMode for text.

field
name: string

Methods

  • unref(): void
  • Decrements the reference count on values, freeing the structure if the reference count reaches 0.

    Returns void

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