set_accepts_tab


Description:

public void set_accepts_tab (bool accepts_tab)

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.

Parameters:

this

A `GtkTextView`

accepts_tab

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




2022 vala-language.org