Gtk.TextView.prototype.set_accepts_tab

function set_accepts_tab(accepts_tab:Boolean):void {
    // Gjs wrapper for gtk_text_view_set_accepts_tab()
}

Sets the behavior of the text widget when the Tab key is pressed. If accepts_tab is true, a tab character is inserted. If accepts_tab is false the keyboard focus is moved to the next widget in the focus chain.

Since 2.4

accepts_tab

true if pressing the Tab key should insert a tab character, false, if pressing the Tab key should move the keyboard focus.