Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/idlelib/aboutDialog.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s�dZddlTddlZddlmZddlmZdefd��YZedkr�e	�Z
d	�Zee
d
dde�j
�e
j�ndS(
sAbout Dialog for IDLE

i�(t*N(ttextView(tidlevertAboutDialogcBsweZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd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(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
ddd�t|d
|j�}|jdtdt�t|ddd|j
d
|jdd5�}|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
dd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,|jd	|j�}
|
jdtd
ddd�t|dd-d+d$d,|jd	|j�}|jdtd
ddd�t|dd.d+d$d,|jd	|j�}|jdtd
ddd�t|dd"dtd#dd
|j�jdd/dddtddd
ddd�t|dd0tjd|j
d
|j�}|jdd1dddtd
ddd�t|d
|j�}|jdd2dddddt�t|dd3d+d$d,|jd	|j�}|jdtd
ddd�t|dd4d+d$d,|jd	|j�}|jdtd
ddd�t|dd.d+d$d,|jd	|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	CopyrighttCreditsisIDLE version:   ii
tREADMEtNEWS(R)iR*s




( tFrametSUNKENtpacktBOTTOMtXtTOPtTRUEtBOTHtButtonRRRtLabelRtgridtWtLEFTtEWtsystversiontsplitttktcalltNSEWtShowLicenset
ShowCopyrighttShowPythonCreditsRtIDLE_VERSIONt
ShowIDLEAbouttShowIDLENEWStShowIDLECredits(Rt	frameMaintframeButtonstframeBgt
labelTitletbylinet	labelDesct
labelEmailtlabelWWWtlabelPythonVerttkVert
labelTkVertpy_button_ft
buttonLicensetbuttonCopyrightt
buttonCreditstidle_vt
idle_button_ftidle_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(NsAbout - 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
		

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.