parameters: (self)
docstring: Internal method to allow plugins to add menus to the main menu bar.
docstring_summary: Internal method to allow plugins to add menus to the main menu bar.
docstring_tokens: Internal method to allow plugins to add menus to the main menu bar .
function: def _addMenus(self):
          """
          Internal method to allow plugins to add menus to the main menu bar.
          """
          super(PeacockMainWindow, self)._addMenus()
          menubar = self.menuBar()
          debug_menu = menubar.addMenu("Debug")
          WidgetUtils.addAction(debug_menu, "Show Python Console", self._showConsole, "Ctrl+P", True)
function_tokens: def _addMenus ( self ) : super ( PeacockMainWindow , self ) . _addMenus ( ) menubar = self . menuBar ( ) debug_menu = menubar . addMenu ( "Debug" ) WidgetUtils . addAction ( debug_menu , "Show Python Console" , self . _showConsole , "Ctrl+P" , True )