def setTabIcon(self, c, icon):
        warn('use getTab() and ITab.getIcon() instead', DeprecationWarning)

        info = self._tabs.get(c)
        if info is not None:
            info.setIcon(icon)
            self.requestRepaint()
Sets icon for the given component. The tab is identified by the
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tab_sheet.py/TabSheet.setTabIcon