�`^c@sdZddlTddlZddlmZddlmZdefd��YZedkr{dd l m
Z
e
e�ndS(
sAbout Dialog for IDLE
i�(t*N(ttextView(tidlevertAboutDialogcBszeZdZed�Zd�Zd�Zd�Zd�Zd�Z d�Z
d�Zd �Zdd
�Zdd�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
tborderwidthis+%d+%diids#707070s#fffffftheighttwidthtWM_DELETE_WINDOWs<Return>s<Escape>N(tToplevelt__init__t configuretgeometrytwinfo_rootxtwinfo_rootytbgtfgt
CreateWidgetst resizabletFALSEttitlet transienttgrab_settprotocoltOktparenttbuttonOkt focus_settbindtwait_window(tselfRRt_htest((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: idle-dev@python.orgis!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.pyRMqscCs|jdt�dS(NsAbout - Copyright(Rht copyright(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRNtscCs|jdt�dS(NsAbout - Python Credits(Rhtcredits(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyROwscCs|jddd�dS(NsAbout - CreditssCREDITS.txts
iso-8859-1(tdisplay_file_text(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRSzscCs|jdd�dS(NsAbout - Readmes
README.txt(Rl(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRQ}scCs|jdd�dS(NsAbout - NEWSsNEWS.txt(Rl(R((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRR�scCs3|j�dj|j�}tj|||�dS(Ns
(t_Printer__setuptjoint_Printer__linesRt view_text(RRtprinterR#((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRh�s
cCsGtjjtjjtjjt��|�}tj||||�dS(N(tostpathRntabspathtdirnamet__file__Rt view_file(RRtfilenametencodingtfn((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRl�s-cCs|j�dS(N(tdestroy(Rtevent((s)/sys/lib/python2.7/idlelib/aboutDialog.pyR�sN(t__name__t
__module__t__doc__tFalseR RRMRNRORSRQRRRhtNoneRlR(((s)/sys/lib/python2.7/idlelib/aboutDialog.pyRs J t__main__(trun(RtTkinterRrtidlelibRRRRR}tidlelib.idle_test.htestR�(((s)/sys/lib/python2.7/idlelib/aboutDialog.pyt<module>s
�
|