��Qc@s�dZddlTddlZddlmZddlmZdefd��YZedkr�e �Z
d �Zee
d
dde�j
�e
j�ndS(
sAbout Dialog for IDLE
i�(t*N(ttextView(tidlevertAboutDialogcBsweZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z
d �Zdd
�Z
dd�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(Ntborderwidthis+%d+%dis#707070s#fffffftheighttwidthtWM_DELETE_WINDOWs<Return>s<Escape>(tToplevelt__init__t configuretgeometrytwinfo_rootxtwinfo_rootytbgtfgt
CreateWidgetst resizabletFALSEttitlet transienttgrab_settprotocoltOktparenttbuttonOkt focus_settbindtwait_window(tselfRR((s)/sys/lib/python2.7/idlelib/aboutDialog.pyR s"
c
Cs�t|dddt�}t|�}|jdtdt�|jdtdtdt�t|ddd |j �|_
|j
jd
ddd�t|d
|j�}|jdtdt�t|ddd|j
d
|jdd5�}|jdddddtd
ddd�dd6}t|d|dtd|j
d
|j�}|jdddddtddd
ddd�t|dddtd|j
d
|j�}|jdddddddtd
ddd�t|dd dtd|j
d
|j�}|jdd!dddddtd
ddd�t|dd"dtd#dd
|j�jdd$dddtddd
ddd�t|dd%tjj�dd|j
d
|j�} | jdd&dddtd
ddd�|jjd'd(�}
t|dd)|
d|j
d
|j�}|jdd&dd"dtd
ddd�t|d
|j�}|jdddddddt�t|dd*d+d$d,|jd |j�}
|
jdtd
ddd�t|dd-d+d$d,|jd |j�}|jdtd
ddd�t|dd.d+d$d,|jd |j�}|jdtd
ddd�t|dd"dtd#dd
|j�jdd/dddtddd
ddd�t|dd0tjd|j
d
|j�}|jdd1dddtd
ddd�t|d
|j�}|jdd2dddddt�t|dd3d+d$d,|jd |j�}|jdtd
ddd�t|dd4d+d$d,|jd |j�}|jdtd
ddd�t|dd.d+d$d,|jd |j�}|jdtd
ddd�dS(7NRitrelieftsidetfilltexpandttexttClosetcommandtpadxitpadyRtIDLERtfonttcourieritboldtrowitcolumntstickyi
s+Python's Integrated DeveLopment Environments
tjustifyt
columnspanisemail: [email protected]s!www: http://www.python.org/idle/iiRisPython version: i tinfot
patchlevels
Tk version: tLicenseRthighlightbackgroundt CopyrighttCreditsisIDLE version: ii
tREADMEtNEWS(R)iR*s
( tFrametSUNKENtpacktBOTTOMtXtTOPtTRUEtBOTHtButtonRRRtLabelRtgridtWtLEFTtEWtsystversiontsplitttktcalltNSEWtShowLicenset
ShowCopyrighttShowPythonCreditsRtIDLE_VERSIONt
ShowIDLEAbouttShowIDLENEWStShowIDLECredits(Rt frameMaintframeButtonstframeBgt
labelTitletbylinet labelDesct
labelEmailtlabelWWWtlabelPythonVerttkVert
labelTkVertpy_button_ft
buttonLicensetbuttonCopyrightt
buttonCreditstidle_vt
idle_button_ftidle_about_btidle_news_btidle_credits_b((s)/sys/lib/python2.7/idlelib/aboutDialog.pyR"s�! (
..')((" '(" cCs|jdt�dS(NsAbout - License(tdisplay_printer_texttlicense(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRLlscCs|jdt�dS(NsAbout - Copyright(Rgt copyright(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRMoscCs|jdt�dS(NsAbout - Python Credits(Rgtcredits(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRNrscCs|jddd�dS(NsAbout - CreditssCREDITS.txts
iso-8859-1(tdisplay_file_text(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRRuscCs|jdd�dS(NsAbout - Readmes
README.txt(Rk(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRPxscCs|jdd�dS(NsAbout - NEWSsNEWS.txt(Rk(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRQ{scCs3|j�dj|j�}tj|||�dS(Ns
(t_Printer__setuptjoint_Printer__linesRt view_text(RRtprinterR"((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRg~s
cCsGtjjtjjtjjt��|�}tj||||�dS(N(tostpathRmtabspathtdirnamet__file__Rt view_file(RRtfilenametencodingtfn((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRk�s-cCs|j�dS(N(tdestroy(Rtevent((s)/sys/lib/python2.7/idlelib/aboutDialog.pyR�sN(t__name__t
__module__t__doc__R RRLRMRNRRRPRQRgtNoneRkR(((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRs J t__main__cCs$ddlm}|jtd�dS(Ni�(taboutDialogtAbout(tidlelibR�Rtroot(R�((s)/sys/lib/python2.7/idlelib/aboutDialog.pytrun�sR"tDialogR$(R~tTkinterRqR�RRRRR|tTkR�R�R@R:tmainloop(((s)/sys/lib/python2.7/idlelib/aboutDialog.pyt<module>s
|