Class (GI Struct)

Gtk-3.0GtkTextAttributes

Using Gtk.TextAttributes 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.

Index

Constructors

  • Parameters

    • Optionalproperties: Partial<
          {
              appearance: TextAppearance;
              bg_full_height: number;
              direction: Gtk.TextDirection;
              editable: number;
              font_scale: number;
              indent: number;
              invisible: number;
              justification: Gtk.Justification;
              left_margin: number;
              letter_spacing: number;
              no_fallback: number;
              pixels_above_lines: number;
              pixels_below_lines: number;
              pixels_inside_wrap: number;
              right_margin: number;
              wrap_mode: Gtk.WrapMode;
          },
      >

    Returns Gtk.TextAttributes

Properties

appearance: TextAppearance
bg_full_height: number
direction: Gtk.TextDirection
editable: number
font_scale: number
indent: number
invisible: number
justification: Gtk.Justification
left_margin: number
letter_spacing: number
no_fallback: number
pixels_above_lines: number
pixels_below_lines: number
pixels_inside_wrap: number
right_margin: number
wrap_mode: Gtk.WrapMode

Methods

  • Decrements the reference count on values, freeing the structure if the reference count reaches 0.

    Returns void