def METHOD_NAME(self):
    """Positions the tab switcher in the top-center of the editor."""
    left = int(self.editor.geometry().width()/2 - self.width()/2)
    top = int(self.editor.tabs.tabBar().geometry().height() +
              self.editor.fname_label.geometry().height())
    self.move(self.editor.mapToGlobal(QPoint(left, top)))