docs: def updateCurrentView(self, oldWidget, newWidget):
          """
          Updates the current view widget.
          
          :param      oldWidget | <QtGui.QWidget>
                      newWidget | <QtGui.QWidget>
          """
          view = projexui.ancestor(newWidget, XView)
          if view is not None:
              view.setCurrent()