View.setTabWidth

void setTabWidth(uint width)

Sets the width of tabulation in characters. The #GtkTextBuffer still contains \t characters, but they can take a different visual width in a #GtkSourceView widget.

Parameters

widthwidth of tab in characters.