Lc @ s d Z d d k Z d d k l Z d d k l Z d dj dk dl dm dn d do dp dq d dr d ds dt g f d du dv d dw dx dy dz d d{ d| d} d~ d d g f d5 d d d d d d d d g f dF d g f dI d d g f dN d d d d g f dW d d g f dZ d d d d g f g Z e i o e da db d Z e da db dc Z
e da db dd 3e da db i de e
e d db da df 5e i da dg d d d g f n e i Z
[ d S( s 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.
iN( t idleConf( t
macosxSupportt files _New Windows <>s _Open...s <>s Open _Module...s <>s Class _Browsers <>s
_Path Browsers <>t _Saves <>s Save _As...s <>s Save Cop_y As...s <>s
Prin_t Windows <>t _Closes <>t E_xits <>t editt _Undos <>t _Redos <>t Cu_ts <>t _Copys <>t _Pastes <>s Select _Alls <>s _Find...s <>s Find A_gains <>s Find _Selections <>s Find in Files...s <>s R_eplace...s <>s Go to _Lines
<>t formats _Indent Regions <>s _Dedent Regions <>s Comment _Out Regions <>s U_ncomment Regions <>s
Tabify Regions <>s Untabify Regions <>s Toggle Tabss <>s New Indent Widths <>t runs Python Shells <>t shells _View Last Restarts <>s _Restart Shells <>t debugs _Go to File/Lines <>s
!_Debuggers <>s
_Stack Viewers <>s !_Auto-open Stack Viewers <>t optionss _Configure IDLE...s <>t helps _About IDLEs <>s
_IDLE Helps <>s Python _Docss <>i i iii i t applications
About IDLEs _Preferences....( s _New Windows <>( s _Open...s <>( s Open _Module...s <>( s Class _Browsers <>( s
_Path Browsers <>( R s <>( s Save _As...s <>( s Save Cop_y As...s <>( s
Prin_t Windows <>( R s <>( R s <>( R s <>( R s <>( R s <>( R
s <>( R s <>( s Select _Alls <>( s _Find...s <>( s Find A_gains <>( s Find _Selections <>( s Find in Files...s <>( s R_eplace...s <>( s Go to _Lines
<>( s _Indent Regions <>( s _Dedent Regions <>( s Comment _Out Regions <>( s U_ncomment Regions <>( s
Tabify Regions <>( s Untabify Regions <>( s Toggle Tabss <>( s New Indent Widths <>( s Python Shells <>( s _View Last Restarts <>( s _Restart Shells <>( s _Go to File/Lines <>( s
!_Debuggers <>( s
_Stack Viewers <>( s !_Auto-open Stack Viewers <>( s _Configure IDLE...s <>( s _About IDLEs <>( s
_IDLE Helps <>( s Python _Docss <>( s
About IDLEs <>( s _Preferences....s <>( t __doc__t syst idlelib.configHandlerR t idlelibR t Nonet menudefst runningAsOSXAppt quitItemt closeItemt insertt GetCurrentKeySett default_keydefs( ( ( s( /usr/lib64/python2.6/idlelib/Bindings.pyt
s