def setTabCaption(self, c, caption):
        warn('use getTab() and ITab.getCaption() instead', DeprecationWarning)

        info = self._tabs.get(c)
        if info is not None:
            info.setCaption(caption)
            self.requestRepaint()
Sets tab caption. The tab is identified by the tab content
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tab_sheet.py/TabSheet.setTabCaption