V Qc@sFdZddlTdddYZdZedkrBendS( s.Play with the new Tk 8.0 toplevel menu option.i(t*tAppcBseZdZRS(cCsu||_t|j|_t|j|_|jjdd|jjdd|jjdd|jj|jjddd|jjt|j|_|jjdd|jjdd|jjdd t|jd d |_|jjdd |jj dd d|j|jj ddd|j|jj ddd|jt d|j|_ dS(NtlabeltNewsOpen...tClosetQuittcommandtCuttCopytPastetnamethelpsAbout...tFiletmenutEdittHelp( tmastertMenutmenubartfilemenut add_commandt add_separatortquitteditmenuthelpmenut add_cascadetToplevelttop(tselfR((s9/usr/lib64/python2.7/Demo/tkinter/guido/newmenubardemo.pyt__init__ s$  (t__name__t __module__R(((s9/usr/lib64/python2.7/Demo/tkinter/guido/newmenubardemo.pyRscCs-t}|jt|}|jdS(N(tTktwithdrawRtmainloop(troottapp((s9/usr/lib64/python2.7/Demo/tkinter/guido/newmenubardemo.pytmain(s   t__main__N((t__doc__tTkinterRR%R(((s9/usr/lib64/python2.7/Demo/tkinter/guido/newmenubardemo.pyts  !