Viewing File: /opt/alt/python35/lib64/python3.5/idlelib/__pycache__/aboutDialog.cpython-35.opt-1.pyc



YfK@sdZddlZddlmZddlTddlmZGdddeZe	dkrddl
Z
e
jd	d
ddd
ddlm
Z
e
edS)zAbout Dialog for IDLE

N)version)*)textViewc@seZdZdZdddZddZddZd	d
ZddZd
dZ	ddZ
ddZddZdddZ
dddZdS)AboutDialogz!Modal about dialog for idle

    FcCs
tj|||jdd|jd|jd|j|sKdndfd|_d|_|j|j	dt
d	t
|j||j||j
|jd
|j||_|jj|jd|j|jd|j|jd
S)zG
        _htest - bool, change box location when running htest
        borderwidthz+%d+%ddz#707070z#ffffffheightwidthZWM_DELETE_WINDOWz<Return>z<Escape>N)Toplevel__init__Z	configureZgeometryZwinfo_rootxZwinfo_rootybgfg
CreateWidgetsZ	resizableZFALSEtitleZ	transientZgrab_setZprotocolOkparentbuttonOkZ	focus_setZbindZwait_window)selfrrZ_htestr8/opt/alt/python35/lib64/python3.5/idlelib/aboutDialog.pyr
s$	
!		



	
zAboutDialog.__init__c
Cstdtjd}t|dddt}t|}|jdtdt|jdtdtdt	t
|dd	d
|j|_|jjddd
dt|d|j
}|jdtdt	t|ddd|jd|j
dd7}|jdddddtddd
ddd8}t|d|dtd|jd|j
}|jdddddtddddd
dt|dddtd|jd|j
}|jdd dddddtddd
dt|dd!tddd"dtd|jd|j
}	|	jdd#dddddtddd
dt|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
dt|d|j
}
|
jdddddddtt
|
dd,d-d&d.|j
d
|j}|jdtddd
dt
|
dd/d-d&d.|j
d
|j}|jdtddd
dt
|
dd0d-d&d.|j
d
|j}|jdtddd
dt|dd$dtd%dd|j
jdd1dddtddddd
dt|dd2|d|jd|j
}|jdd3dddtddd
dt|d|j
}|jdd4dddddtt
|dd5d-d&d.|j
d
|j}|jdtddd
dt
|dd6d-d&d.|j
d
|j}|jdtddd
dt
|dd0d-d&d.|j
d
|j}|jdtddd
ddS)9N rZreliefZsideZfillexpandtextZCloseZcommandZpadxrZpadyrZIDLErZfontcourierboldrowrcolumnZsticky
z+Python's Integrated DeveLopment Environment
ZjustifyZ
columnspanzemail:  idle-dev@python.orgzhttps://docs.python.org/z/library/idle.htmlr
zPython version:  	infoZ
patchlevelz
Tk version:  ZLicenserZhighlightbackgroundZ	CopyrightZCreditszIDLE version:   
ZREADMEZNEWS)rrrz




)rindexZFrameZSUNKENZpackZBOTTOMXZTOPZTRUEZBOTHZButtonrrrZLabelrZgridWZLEFTZEWZtkZcallZNSEWShowLicense
ShowCopyrightShowPythonCredits
ShowIDLEAboutShowIDLENEWSShowIDLECredits)rreleaseZ	frameMainZframeButtonsZframeBgZ
labelTitleZbylineZ	labelDescZ
labelEmailZlabelWWWZlabelPythonVerZtkVerZ
labelTkVerZpy_button_fZ
buttonLicenseZbuttonCopyrightZ
buttonCreditsZidle_vZ
idle_button_fZidle_about_bZidle_news_bZidle_credits_brrrr&s!	(
.	.'(("			'("			zAboutDialog.CreateWidgetscCs|jdtdS)NzAbout - License)display_printer_textlicense)rrrrr0sszAboutDialog.ShowLicensecCs|jdtdS)NzAbout - Copyright)r7	copyright)rrrrr1vszAboutDialog.ShowCopyrightcCs|jdtdS)NzAbout - Python Credits)r7credits)rrrrr2yszAboutDialog.ShowPythonCreditscCs|jddddS)NzAbout - CreditszCREDITS.txtzutf-8)display_file_text)rrrrr5~szAboutDialog.ShowIDLECreditscCs|jddddS)NzAbout - Readmez
README.txtascii)r;)rrrrr3szAboutDialog.ShowIDLEAboutcCs|jddddS)NzAbout - NEWSzNEWS.txtzutf-8)r;)rrrrr4szAboutDialog.ShowIDLENEWScCs3|jdj|j}tj|||dS)Nr")_Printer__setupjoin_Printer__linesrZ	view_text)rrZprinterrrrrr7s
z AboutDialog.display_printer_textNcCsGtjjtjjtjjt|}tj||||dS)N)ospathr>abspathdirname__file__rZ	view_file)rrfilenameencodingfnrrrr;s-zAboutDialog.display_file_textcCs|jdS)N)Zdestroy)rZeventrrrrszAboutDialog.Ok)__name__
__module____qualname____doc__r
rr0r1r2r5r3r4r7r;rrrrrr
sMr__main__z idlelib.idle_test.test_helpabout	verbosityrexitF)run)rKr@sysrZtkinterZidlelibrrrrHZunittestmainZidlelib.idle_test.htestrOrrrr<module>s

Back to Directory File Manager