Gtk.TextView.prototype.get_accepts_tab

function get_accepts_tab():Boolean {
    // Gjs wrapper for gtk_text_view_get_accepts_tab()
}

Returns whether pressing the Tab key inserts a tab characters. Gtk.set_accepts_tab.

Since 2.4

Returns

true if pressing the Tab key inserts a tab character, false if pressing the Tab key moves the keyboard focus.