docs: def currentView(cls, parent=None):
          """
          Returns the current view for the given class within a viewWidget.  If
          no view widget is supplied, then a blank view is returned.
          
          :param      viewWidget | <projexui.widgets.xviewwidget.XViewWidget> || None
          
          :return     <XView> || None
          """
          if parent is None:
              parent = projexui.topWindow()
          
          for inst in parent.findChildren(cls):
              if inst.isCurrent():
                  return inst
          return None