docs: def addTab(self, view, title):
          """
          Adds a new view tab to this panel.
          
          :param      view    | <XView>
                      title   | <str>
          
          :return     <bool> | success
          """
          if not isinstance(view, XView):
              return False
  
          tab = self._tabBar.addTab(title)
          self.addWidget(view)
          tab.titleChanged.connect(view.setWindowTitle)
          
          # create connections
          try:
              view.windowTitleChanged.connect(self.refreshTitles,
                                              QtCore.Qt.UniqueConnection)
              view.sizeConstraintChanged.connect(self.adjustSizeConstraint,
                                              QtCore.Qt.UniqueConnection)
              view.poppedOut.connect(self.disconnectView,
                                     QtCore.Qt.UniqueConnection)
          except RuntimeError:
              pass
          
          self.setCurrentIndex(self.count() - 1)
          
          return True