def _set_tab_width(self, tab_width):
        """ Sets the width (in terms of space characters) for tab characters.
        """
        self._control.setTabStopWidth(tab_width * self._get_font_width())

        self._tab_width = tab_width
 Sets the width (in terms of space characters) for tab characters.
        
angrmanagement/vendor/qtconsole/console_widget.py