ó {fc@s¤dZddlZddlmZddlTddlmZdefd„ƒYZe dkr ddl Z e j d d d d e ƒdd l mZeeƒndS(sAbout Dialog for IDLE iÿÿÿÿN(tversion(t*(ttextViewt AboutDialogcBszeZdZed„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d d „Zd d „ZRS( s!Modal about dialog for idle cCs tj||ƒ|jddƒ|jd|jƒd|jƒ|sKdndfƒd|_d|_|jƒ|j dt d t ƒ|j |ƒ|j |ƒ|j ƒ|jd |jƒ||_|jjƒ|jd |jƒ|jd |jƒ|jƒd S(sG _htest - bool, change box location when running htest t borderwidthis+%d+%diids#707070s#fffffftheighttwidthtWM_DELETE_WINDOWssN(tToplevelt__init__t configuretgeometryt winfo_rootxt winfo_rootytbgtfgt CreateWidgetst resizabletFALSEttitlet transienttgrab_settprotocoltOktparenttbuttonOkt focus_settbindt wait_window(tselfRRt_htest((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyR s$  !        c Csôttjdƒ }t|dddtƒ}t|ƒ}|jdtdtƒ|jdtdtdt ƒt |dd d |j ƒ|_ |j jd d d d ƒt|d|j ƒ}|jdtdt ƒt|ddd|jd|j dd7ƒ}|jdddddtd dd dƒdd8}t|d|dtd|jd|j ƒ}|jdddddtddd dd d ƒt|dddtd|jd|j ƒ}|jdd dddddtd dd dƒt|dd!td d"dtd|jd|j ƒ} | jdd#dddddtd dd dƒt|dd$dtd%dd|j ƒjdd&dddtddd d d d ƒt|dd'|d|jd|j ƒ} | jdd(dddtd dd dƒ|jjd)d*ƒ} t|dd+| d|jd|j ƒ} | jdd(dd$dtd dd dƒt|d|j ƒ} | jdddddddtƒt | dd,d-d&d.|j d |jƒ}|jdtd dd dƒt | dd/d-d&d.|j d |jƒ}|jdtd dd dƒt | dd0d-d&d.|j d |jƒ}|jdtd dd dƒt|dd$dtd%dd|j ƒjdd1dddtddd d d d ƒt|dd2|d|jd|j ƒ}|jdd3dddtd dd dƒt|d|j ƒ}|jdd4dddddtƒt |dd5d-d&d.|j d |jƒ}|jdtd dd dƒt |dd6d-d&d.|j d |jƒ}|jdtd dd dƒt |dd0d-d&d.|j d |jƒ}|jdtd dd dƒdS(9Nt RitrelieftsidetfilltexpandttexttClosetcommandtpadxitpadyRtIDLERtfonttcourieritboldtrowitcolumntstickyi s+Python's Integrated DeveLopment Environments tjustifyt columnspanisemail: idle-dev@python.orgishttps://docs.python.org/s/library/idle.htmliiRisPython version: i tinfot patchlevels Tk version: tLicenseRthighlightbackgroundt CopyrighttCreditsi sIDLE version: i i tREADMEtNEWS(R+iR,s (RtindextFrametSUNKENtpacktBOTTOMtXtTOPtTRUEtBOTHtButtonRRRtLabelRtgridtWtLEFTtEWttktcalltNSEWt ShowLicenset ShowCopyrighttShowPythonCreditst ShowIDLEAboutt ShowIDLENEWStShowIDLECredits(Rtreleaset frameMaint frameButtonstframeBgt labelTitletbylinet labelDesct labelEmailtlabelWWWtlabelPythonVerttkVert labelTkVert py_button_ft buttonLicensetbuttonCopyrightt buttonCreditstidle_vt idle_button_ft idle_about_bt idle_news_btidle_credits_b((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyR%sŠ ! ( . .' ( ("      '("      cCs|jdtƒdS(NsAbout - License(tdisplay_printer_texttlicense(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRLrscCs|jdtƒdS(NsAbout - Copyright(Rgt copyright(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRMuscCs|jdtƒdS(NsAbout - Python Credits(Rgtcredits(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRNxscCs|jdddƒdS(NsAbout - Creditss CREDITS.txtsutf-8(tdisplay_file_text(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRQ}scCs|jdddƒdS(NsAbout - Readmes README.txttascii(Rk(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRO€scCs|jdddƒdS(Ns About - NEWSsNEWS.txtsutf-8(Rk(R((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRPƒscCs3|jƒdj|jƒ}tj|||ƒdS(Ns (t_Printer__setuptjoint_Printer__linesRt view_text(RRtprinterR$((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRg†s cCsGtjjtjjtjjtƒƒ|ƒ}tj||||ƒdS(N(tostpathRntabspathtdirnamet__file__Rt view_file(RRtfilenametencodingtfn((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRk‹s-cCs|jƒ|jƒdS(N(t grab_releasetdestroy(Rtevent((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyRs N(t__name__t __module__t__doc__tFalseR RRLRMRNRQRORPRgtNoneRkR(((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyR s  M        t__main__s idlelib.idle_test.test_helpaboutt verbosityitexit(trun(R€RrtsysRtTkintertidlelibRRRR~tunittesttmainRtidlelib.idle_test.htestR†(((s+/usr/lib64/python2.7/idlelib/aboutDialog.pyts  Š