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

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


�`^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	�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((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.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(NsAbout - 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
�

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.