code: def _add_view_menu(self):
          
          mainMenu = self.app.mainMenu()
  
          # Create an View menu and make it a submenu of the main menu
          viewMenu = AppKit.NSMenu.alloc().init()
          viewMenu.setTitle_(localization["cocoa.menu.view"])
          viewMenuItem = AppKit.NSMenuItem.alloc().init()
          viewMenuItem.setSubmenu_(viewMenu)
          mainMenu.addItem_(viewMenuItem)
  
          # TODO: localization of the Enter fullscreen string has no effect
          fullScreenMenuItem = viewMenu.addItemWithTitle_action_keyEquivalent_(localization["cocoa.menu.fullscreen"], "toggleFullScreen:", "f")
          fullScreenMenuItem.setKeyEquivalentModifierMask_(AppKit.NSControlKeyMask | AppKit.NSCommandKeyMask)
docs: Create a default View menu that shows 'Enter Full Screen'.