def METHOD_NAME(self):
    index = self.num - 1
    bar = self.score.bars[index]
    if self.score.selected_tab is not None:
        self.score.selected_tab.unselect()
    self.score.bar_cell <= self.score.bars[index]
    self.score.selected_tab = self
    self.className = 'selected_tab'