3 ^wc@sdZddlmZddlmZdddddddddddddddgfdddddddddddddddddddgfd=ddddddddddg fdRdddgfdYddddgfd`ddddgfdiddgfdndgfdqddddgfg ZedxreddyjdejZe d|krdd}l m Z e d~dddS)aDefine 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. i) find_spec)idleConfZfile _New File<>_Open...<>Open _Module...<>Module _Browser<> _Path Browser<>N_Save<> Save _As...<>Save Cop_y As...<> Prin_t Window<>_Close<>E_xit<>Zedit_Undo<>_Redo<>Cu_t<>_Copy<>_Paste <> Select _All<>_Find...<> Find A_gain<>Find _Selection<>Find in Files...<> R_eplace... <> Go to _Line <>S_how Completions<> E_xpand Word<>Show C_all Tip<>Show Surrounding P_arens<>Zformat_Indent Region<>_Dedent Region<>Comment _Out Region<>U_ncomment Region<> Tabify Region<>Untabify Region<> Toggle Tabs<>New Indent Width<>F_ormat Paragraph<>S_trip Trailing Whitespace <>Zrun Python Shell<> C_heck Module<> R_un Module<>Zshell_View Last Restart<>_Restart Shell<>_Interrupt Execution<>Zdebug_Go to File/Line<> !_Debugger<> _Stack Viewer<>!_Auto-open Stack Viewer<>ZoptionsConfigure _IDLE<> _Code Context<>Zwindow Zoom Height<>Zhelp _About IDLE<> _IDLE Help<> Python _Docs<>Z turtledemoi Turtle Demo<>Z__main__)mainzidlelib.idle_test.test_mainmenui)Z verbosity)rr)rr)rr)rr )r r )r r )rr)rr)rr)rr)rr)rr)rr)rr)rr)r r!)r"r#)r$r%)r&r')r(r))r*r+)r,r-)r.r/)r0r1)r2r3)r4r5)r6r7)r8r9)r:r;)r<r=)r>r?)r@rA)rBrC)rDrE)rFrG)rHrI)rJrK)rLrM)rNrO)rPrQ)rRrS)rTrU)rVrW)rXrY)rZr[)r\r])r^r_)r`ra)rbrc)rdre)rfrg)rhri)rjrki)rlrm) Z__doc__Zimportlib.utilrZidlelib.configrZmenudefsZappendZGetCurrentKeySetZdefault_keydefsZ__name__Zunittestrnroroz(/usr/lib64/python3.6/idlelib/mainmenu.pyZ s