SourceView.setInsertSpacesInsteadOfTabs

If TRUE a tab key pressed is replaced by a group of space characters. Of course it is still possible to insert a real \t programmatically with the gtk.TextBuffer API.

class SourceView
void
setInsertSpacesInsteadOfTabs
(
bool enable
)

Parameters

enable bool

whether to insert spaces instead of tabs.