setAcceptsTab

open fun setAcceptsTab(acceptsTab: Boolean)

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

acceptsTab

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