TextView.setAcceptsTab

void setAcceptsTab(bool acceptsTab)

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.

Parameters

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