parameters: (self, menuName)
docstring: Get a PluginMenu object for the menu with the given name. If no menu
          with the given name exists, it is created.
docstring_summary: Get a PluginMenu object for the menu with the given name. If no menu
          with the given name exists, it is created.
docstring_tokens: Get a PluginMenu object for the menu with the given name . If no menu with the given name exists it is created .
function: def findOrCreateMenu(self, menuName):
          """Get a PluginMenu object for the menu with the given name. If no menu
          with the given name exists, it is created.
          """
  
          if menuName in self._menus:
              return self._menus[menuName]
          else:
              qMenu = self._mainWindow.menuBar().addMenu(menuName)
              qMenu.setToolTipsVisible(True)
              menu = PluginMenu(qMenu)
              self._menus[menuName] = menu
              return menu
function_tokens: def findOrCreateMenu ( self , menuName ) : if menuName in self . _menus : return self . _menus [ menuName ] else : qMenu = self . _mainWindow . menuBar ( ) . addMenu ( menuName ) qMenu . setToolTipsVisible ( True ) menu = PluginMenu ( qMenu ) self . _menus [ menuName ] = menu return menu