SourceView.setTabWidth

Sets the width of tabulation in characters. The gtk.TextBuffer still contains \t characters, but they can take a different visual width in a gsv.SourceView widget.

class SourceView
void
setTabWidth
(
uint width
)

Parameters

width uint

width of tab in characters.