Your IP : 3.14.254.103


Current Path : /opt/alt/python27/lib64/python2.7/idlelib/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyo

�
^
bc@s�dZddlZddlmZddlTddlmZdefd��YZe	dkr�ddl
Z
e
jd	d
dde�dd
l
mZee�ndS(sAbout Dialog for IDLE

i����N(tversion(t*(ttextViewtAboutDialogcBszeZdZed�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�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
        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((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyR	
s$	
!		



	
c
Cs�ttjd� }t|dddt�}t|�}|jdtdt�|jdtdtdt	�t
|dd	d
|j�|_|jjddd
d�t|d|j
�}|jdtdt	�t|ddd|jd|j
dd7�}|jdddddtddd
d�dd8}t|d|dtd|jd|j
�}|jdddddtddddd
d�t|dddtd|jd|j
�}|jdd dddddtddd
d�t|dd!td d"dtd|jd|j
�}	|	jdd#dddddtddd
d�t|dd$dtd%dd|j
�jdd&dddtddddd
d�t|dd'|d|jd|j
�}
|
jdd(dddtddd
d�|jjd)d*�}t|dd+|d|jd|j
�}|jdd(dd$dtddd
d�t|d|j
�}
|
jdddddddt�t
|
dd,d-d&d.|j
d
|j�}|jdtddd
d�t
|
dd/d-d&d.|j
d
|j�}|jdtddd
d�t
|
dd0d-d&d.|j
d
|j�}|jdtddd
d�t|dd$dtd%dd|j
�jdd1dddtddddd
d�t|dd2|d|jd|j
�}|jdd3dddtddd
d�t|d|j
�}|jdd4dddddt�t
|dd5d-d&d.|j
d
|j�}|jdtddd
d�t
|dd6d-d&d.|j
d
|j�}|jdtddd
d�t
|dd0d-d&d.|j
d
|j�}|jdtddd
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	CopyrighttCreditsisIDLE version:   ii
tREADMEtNEWS(R+iR,s




(RtindextFrametSUNKENtpacktBOTTOMtXtTOPtTRUEtBOTHtButtonRRRtLabelRtgridtWtLEFTtEWttktcalltNSEWtShowLicenset
ShowCopyrighttShowPythonCreditst
ShowIDLEAbouttShowIDLENEWStShowIDLECredits(Rtreleaset	frameMaintframeButtonstframeBgt
labelTitletbylinet	labelDesct
labelEmailtlabelWWWtlabelPythonVerttkVert
labelTkVertpy_button_ft
buttonLicensetbuttonCopyrightt
buttonCreditstidle_vt
idle_button_ftidle_about_btidle_news_btidle_credits_b((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyR%s�!	(
.	.'(("			'("			cCs|jdt�dS(NsAbout - License(tdisplay_printer_texttlicense(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRLrscCs|jdt�dS(NsAbout - Copyright(Rgt	copyright(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRMuscCs|jdt�dS(NsAbout - Python Credits(Rgtcredits(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRNxscCs|jddd�dS(NsAbout - CreditssCREDITS.txtsutf-8(tdisplay_file_text(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRQ}scCs|jddd�dS(NsAbout - Readmes
README.txttascii(Rk(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRO�scCs|jddd�dS(NsAbout - NEWSsNEWS.txtsutf-8(Rk(R((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRP�scCs3|j�dj|j�}tj|||�dS(Ns
(t_Printer__setuptjoint_Printer__linesRt	view_text(RRtprinterR$((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRg�s
cCsGtjjtjjtjjt��|�}tj||||�dS(N(tostpathRntabspathtdirnamet__file__Rt	view_file(RRtfilenametencodingtfn((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyRk�s-cCs|j�|j�dS(N(tgrab_releasetdestroy(Rtevent((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyR�s
N(t__name__t
__module__t__doc__tFalseR	RRLRMRNRQRORPRgtNoneRkR(((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyR	s	M							t__main__s idlelib.idle_test.test_helpaboutt	verbosityitexit(trun(R�RrtsysRtTkintertidlelibRRRR~tunittesttmainR�tidlelib.idle_test.htestR�(((s8/opt/alt/python27/lib64/python2.7/idlelib/aboutDialog.pyt<module>s
�

?>