Showing content from http://svn.python.org/projects/python/branches/r23c1-branch/Lib/idlelib/Bindings.py below:
"""Define the menu contents, hotkeys, and event bindings. There is additional configuration information in the EditorWindow class (and subclasses): the menus are created there based on the menu_specs (class) variable, and menus not created are silently skipped in the code here. This makes it possible, for example, to define a Debug menu which is only present in the PythonShell window, and a Format menu which is only present in the Editor windows. """ import sys from configHandler import idleConf menudefs = [ # underscore prefixes character to underscore ('file', [ ('_New Window', '< >'), ('_Open...', '< >'), ('Open _Module...', '< >'), ('Class _Browser', '< >'), ('_Path Browser', '< >'), None, ('_Save', '< >'), ('Save _As...', '< >'), ('Save Co_py As...', '< >'), None, ('_Print Window', '< >'), None, ('_Close', '< >'), ('E_xit', '< >'), ]), ('edit', [ ('_Undo', '< >'), ('_Redo', '< >'), None, ('Cu_t', '< >'), ('_Copy', '< >'), ('_Paste', '< >'), ('Select _All', '< >'), None, ('_Find...', '< >'), ('Find A_gain', '< >'), ('Find _Selection', '< >'), ('Find in Files...', '< >'), ('R_eplace...', '< >'), ('Go to _Line', '< >'), ]), ('format', [ ('_Indent Region', '< >'), ('_Dedent Region', '< >'), ('Comment _Out Region', '< >'), ('U_ncomment Region', '< >'), ('Tabify Region', '< >'), ('Untabify Region', '< >'), ('Toggle Tabs', '< >'), ('New Indent Width', '< >'), ]), ('run', [ ('Python Shell', '< >'), ]), ('shell', [ ('_View Last Restart', '< >'), ('_Restart Shell', '< >'), ]), ('debug', [ ('_Go to File/Line', '< >'), ('!_Debugger', '< >'), ('_Stack Viewer', '< >'), ('!_Auto-open Stack Viewer', '< >'), ]), ('options', [ ('_Configure IDLE...', '< >'), ]), ('help', [ ('_About IDLE', '< >'), None, ('_IDLE Help', '< >'), ('Python _Docs', '< >'), ]), ] default_keydefs = idleConf.GetCurrentKeySet() del sys
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4