ó ¿œ^c@sddlTd„Zd„Zd„Zdad„Zd„Zd„Zd „Zd „Z d „Z e ƒZ e e d ed dƒZejdeƒeƒZeƒZeƒZe ƒZe ƒZejeeeeeƒe jdƒe jdƒe jƒdS(iÿÿÿÿ(t*cCs dGHdS(Nsopening new file((((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytnew_file%scCs dGHdS(Nsopening OLD file((((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt open_file(scCs dGHdS(Nspicked a menu item((((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytprint_something+sicCst adGtGHdS(Ns anchovies?(t anchovies(((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytprint_anchovies2sc Cs+ttddddƒ}|jdtddƒt|ƒ|_|jjdd ƒ|jjdd tƒ|jjdd ddd t ƒ|jjdd ddd t ƒ|jjddddddd t ƒ|jjddƒ|jj dƒ|jjddddddddd |j ƒ|j|d<|S(NttextsSimple Button Commandst underlineitsidetpadxt2mtlabeltUndotstatesNew...tcommandsOpen...sDifferent Fonttfonts&-*-helvetica-*-r-*-*-*-180-*-*-*-*-*-*tbitmaptinfot separatortQuitt backgroundtredtactivebackgroundtgreentmenu(t MenubuttontmBartpacktLEFTtMenuRt add_commandt entryconfigtDISABLEDRRRtaddtquit(tCommand_button((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytmakeCommandMenu7s,    cCs‘ttddddƒ}|jdtddƒt|ƒ|_t|jƒ|j_t|jjƒ|jj_|jjjjdd ƒ|jjjjdd ƒ|jjjjdd ƒ|jjjdd ƒ|jjjdd ƒ|jjjddƒ|jjjddƒ|jjjddƒ|jjjddƒ|jjj ddd|jjjƒ|jj ddd|jjƒ|j|d<|S(NRsCascading MenusRiRR R R tavacadosbelgian endivet beefaronit ChocolatetVanillat TuttiFruititWopBopaLoopBapABopBamBooms Rocky Roadt BubbleGums Weird FlavorsRs more choices( RRRRRRtchoicest weirdonesRt add_cascade(tCascade_button((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytmakeCascadeMenues*  cCs¼ttddddƒ}|jdtddƒt|ƒ|_|jjdd ƒ|jjdd ƒ|jjdd ƒ|jjdd d tƒ|jj|jj d ƒƒ|j|d<|S(NRsCheckbutton MenusRiRR R R t PepperonitSausages Extra CheesetAnchovyRR( RRRRRRtadd_checkbuttonRtinvoketindex(tCheckbutton_button((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytmakeCheckbuttonMenu‹s  cCs ttddddƒ}|jdtddƒt|ƒ|_|jjdd ƒ|jjdd ƒ|jjdd ƒ|jjdd ƒ|jjdd ƒ|jjddƒ|jjddƒ|jjddƒ|jjddƒ|jjddƒ|j|d<|S(NRsRadiobutton MenusRiRR R R t RepublicantDemocratt LibertariantCommietFacists Labor PartytToriet Independentt Anarchists No OpinionR(RRRRRRtadd_radiobutton(tRadiobutton_button((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytmakeRadiobuttonMenu·s   cCs<ttddddƒ}|jdtddƒt|d<|S( NRs Dead MenuRiRR R R (RRRRR (t Dummy_button((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pytmakeDisabledMenuÔs trelieft borderwidthitfills menu demoN(tTkinterRRRRRR$R0R8RCREtTktroottFrametRAISEDRRtXR#R/R7RBtNoMenut tk_menuBarttitleticonnametmainloop(((sC/usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyts, $     . & ,