TextView.setAcceptsTab

Sets the behavior of the text widget when the <kbd>Tab</kbd> 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.

Focus can always be moved using <kbd>Ctrl</kbd>+<kbd>Tab</kbd>.

class TextView
void
setAcceptsTab
()

Parameters

acceptsTab bool

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