docs: def setCurrentIndex(self, index):
          """
          Sets the current item to the item at the inputed index.
  
          :param      index | <int>
          """
          if self._currentIndex == index:
              return
  
          self._currentIndex = index
          self.currentIndexChanged.emit(index)
  
          for i, item in enumerate(self.items()):
              item.setMenuEnabled(i == index)
          self.repaint()