Gtk.TextView

const Gtk = imports.gi.Gtk;

let text_view = new Gtk.TextView({
    accepts_tab: value,
    buffer: value,
    cursor_visible: value,
    editable: value,
    im_module: value,
    indent: value,
    input_hints: value,
    input_purpose: value,
    justification: value,
    left_margin: value,
    overwrite: value,
    pixels_above_lines: value,
    pixels_below_lines: value,
    pixels_inside_wrap: value,
    populate_all: value,
    right_margin: value,
    tabs: value,
    wrap_mode: value,
});
  

You may wish to begin by reading the <link linkend="TextWidget">text widget conceptual overview</link> which gives an overview of all the objects and data types related to the text widget and how they work together.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.TextView