ó ú^‚Rc@sdZddlTddlZddlmZddlmZdefd„ƒYZedkr™e ƒZ d „Z e e d d d e ƒj ƒe jƒndS( sAbout Dialog for IDLE iÿÿÿÿ(t*N(ttextView(tidlevert AboutDialogcBsweZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d d „Z d d „ZRS( s!Modal about dialog for idle cCsþtj||ƒ|jddƒ|jd|jƒd|jƒdfƒd|_d|_|jƒ|j dt dt ƒ|j |ƒ|j |ƒ|j ƒ|jd |jƒ||_|jjƒ|jd |jƒ|jd |jƒ|jƒdS( Nt borderwidthis+%d+%dis#707070s#fffffftheighttwidthtWM_DELETE_WINDOWss(tToplevelt__init__t configuretgeometryt winfo_rootxt winfo_rootytbgtfgt CreateWidgetst resizabletFALSEttitlet transienttgrab_settprotocoltOktparenttbuttonOkt focus_settbindt wait_window(tselfRR((s)/usr/lib/python2.7/idlelib/aboutDialog.pyR s"        c Csåt|dddtƒ}t|ƒ}|jdtdtƒ|jdtdtdtƒt|ddd |j ƒ|_ |j jd d d d ƒt|d |j ƒ}|jdtdtƒt |ddd|j d |j dd5ƒ}|jdddddtd dd dƒdd6}t |d|dtd|j d |j ƒ}|jdddddtddd dd d ƒt |dddtd|j d |j ƒ}|jdddddddtd dd dƒt |dd dtd|j d |j ƒ}|jdd!dddddtd dd dƒt|dd"dtd#dd |j ƒjdd$dddtddd d d d ƒt |dd%tjjƒdd|j d |j ƒ} | jdd&dddtd dd dƒ|jjd'd(ƒ} t |dd)| d|j d |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| dd.d+d$d,|j d |jƒ}|jdtd dd dƒt|dd"dtd#dd |j ƒjdd/dddtddd d d d ƒt |dd0tjd|j d |j ƒ}|jdd1dddtd dd dƒt|d |j ƒ}|jdd2dddddtƒt|dd3d+d$d,|j d |jƒ}|jdtd dd dƒt|dd4d+d$d,|j d |jƒ}|jdtd dd dƒt|dd.d+d$d,|j d |jƒ}|jdtd dd dƒdS(7NRitrelieftsidetfilltexpandttexttClosetcommandtpadxitpadyRtIDLERtfonttcourieritboldtrowitcolumntstickyi s+Python's Integrated DeveLopment Environments tjustifyt columnspanisemail: idle-dev@python.orgis!www: http://www.python.org/idle/iiRisPython version: i tinfot patchlevels Tk version: tLicenseRthighlightbackgroundt CopyrighttCreditsi sIDLE version: i i tREADMEtNEWS(R)iR*s ( tFrametSUNKENtpacktBOTTOMtXtTOPtTRUEtBOTHtButtonRRRtLabelRtgridtWtLEFTtEWtsystversiontsplitttktcalltNSEWt ShowLicenset ShowCopyrighttShowPythonCreditsRt IDLE_VERSIONt ShowIDLEAboutt ShowIDLENEWStShowIDLECredits(Rt 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/lib/python2.7/idlelib/aboutDialog.pyR"s† ! ( ..' )( ("      '("      cCs|jdtƒdS(NsAbout - License(tdisplay_printer_texttlicense(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRLlscCs|jdtƒdS(NsAbout - Copyright(Rgt copyright(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRMoscCs|jdtƒdS(NsAbout - Python Credits(Rgtcredits(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRNrscCs|jdddƒdS(NsAbout - Creditss CREDITS.txts iso-8859-1(tdisplay_file_text(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRRuscCs|jddƒdS(NsAbout - Readmes README.txt(Rk(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRPxscCs|jddƒdS(Ns About - NEWSsNEWS.txt(Rk(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRQ{scCs3|jƒdj|jƒ}tj|||ƒdS(Ns (t_Printer__setuptjoint_Printer__linesRt view_text(RRtprinterR"((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRg~s cCsGtjjtjjtjjtƒƒ|ƒ}tj||||ƒdS(N(tostpathRmtabspathtdirnamet__file__Rt view_file(RRtfilenametencodingtfn((s)/usr/lib/python2.7/idlelib/aboutDialog.pyRkƒs-cCs|jƒdS(N(tdestroy(Rtevent((s)/usr/lib/python2.7/idlelib/aboutDialog.pyR‡sN(t__name__t __module__t__doc__R RRLRMRNRRRPRQRgtNoneRkR(((s)/usr/lib/python2.7/idlelib/aboutDialog.pyR s  J        t__main__cCs$ddlm}|jtdƒdS(Niÿÿÿÿ(t aboutDialogtAbout(tidlelibRRtroot(R((s)/usr/lib/python2.7/idlelib/aboutDialog.pytrunsR"tDialogR$(R~tTkinterRqRƒRRRRR|tTkR„R…R@R:tmainloop(((s)/usr/lib/python2.7/idlelib/aboutDialog.pyts