• File: help_about.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/idlelib/__pycache__/help_about.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 6.07 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~d#@sddlZddlZddlmZmZddlmZmZmZm	Z	m
Z
ddlmZmZm
Z
mZmZmZmZmZmZmZddlmZddZGdd	d	eZed
krddlmZedd
ddddlmZeedS)N)python_versionarchitecture)ToplevelFrameLabelButton
PhotoImage)
SUNKENTOPBOTTOMLEFTXBOTHWEWNSEWE)textviewcCs2tjdkrtjdkrdSdStdddSdS)NdarwinlZ64Z32r)sysplatformmaxsizerrr7/opt/alt/python37/lib64/python3.7/idlelib/help_about.py
build_bitss
rc@sreZdZddddddZddZdd	Zd
dZdd
ZddZddZ	ddZ
ddZdddZdddZ
dS)AboutDialogNF)_htest_utestcCst|||jdd|d|d||s6dndfd|_d|_||j	ddd	|
|pd
tdtd|
|||d
|j||_|j|d|j|d|jd|_||_|s||dS)N)borderwidthz+%d+%ddz#bbbbbbz#000000F)heightwidthzAbout IDLE z (z bit)ZWM_DELETE_WINDOWz<Return>z<Escape>)r__init__Z	configureZgeometryZwinfo_rootxZwinfo_rootybgfgcreate_widgetsZ	resizabletitlerrZ	transientZgrab_setZprotocolokparent	button_okZ	focus_setZbind_current_textviewrZ	deiconifyZwait_window)selfr+r)rrrrrr%s.


zAboutDialog.__init__cCst|dtd}t|}|jttd|jtdtdt|d|jd|_	|j	jddd	t||j
d
}|jdtdt|d|j|j
d
d}|j
ddtddd|jdd}|dkrdnd}tjtjtjtdd|}t||d|_t||j|j
d}|j
ddtddddd}	t||	t|j|j
d}
|
j
ddtddddt|d t|j|j
d}|j
d!ddtddd"t|d#tddd$t|j|j
d}|j
d%ddtddd"t|d&td|j
d'j
d(dtddddt|d)t|j|j
d*}
|
j
d+dtdddt|d,||j|j
d*}|j
d+d&tdddt||j
d
}|j
dddtd-t|d.d(|j
|jd/|_ |j jtddd0t|d1d(|j
|j!d/|_"|j"jtddd0t|d2d(|j
|j#d/|_$|j$jtddd0t|d&td|j
d'j
d3dtddddt|d4t|j|j
d*}|j
d5dtdddt||j
d
}|j
d6ddtd-t|d7d(|j
|j%d/|_&|j&jtddd0t|d8d(|j
|j'd/|_(|j(jtddd0t|d2d(|j
|j)d/|_*|j*jtddd0dS)9Nr)r relief)sidefillT)r0expandr1ZClose)textcommandr)padxpady)r&)r2r1ZIDLE)ZcourierZbold)r3r'r&Zfontr
)rowcolumnstickyr5r6infoZ
patchlevelz8.6z.pngz.gifZIconsZidle_48)Zmasterfile)Zimager&)r9r:r;Zrowspanr5r6z=Python's Integrated Development
and Learning Environment




)r3Zjustifyr'r&)r9r:r;
columnspanr5r6zemail:  idle-dev@python.org)r9r:r?r;r5r6zhttps://docs.python.org/z/library/idle.html)r r/r#r&zPython version:  )r3r'r&	z
Tk version:  )r9r:r?r;ZLicense)r3r$Zhighlightbackgroundr4)r0r5r6Z	CopyrightZCreditszIDLE version:   
ZREADMEZNEWS)+rr	packrr
r
rrr*r,r&rr'ZgridrZtkZcallospathjoinabspathdirname__file__rZ_rootZ
icon_imagerrrrrshow_py_licenseZ
py_licenseshow_py_copyrightZpy_copyrightshow_py_creditsZ
py_creditsshow_readmeZreadmeshow_idle_newsZ	idle_newsshow_idle_creditsZidle_credits)r.frameZ
frame_buttonsZframe_backgroundheaderZ
tk_patchlevelZextZiconZlogoZbyline_textZbylineZemailZdocsZpyverZtkverZ
py_buttonsZidleverZidle_buttonsrrrr(<s

zAboutDialog.create_widgetscCs|dtdS)NzAbout - License)display_printer_textlicense)r.rrrrOszAboutDialog.show_py_licensecCs|dtdS)NzAbout - Copyright)rW	copyright)r.rrrrPszAboutDialog.show_py_copyrightcCs|dtdS)NzAbout - Python Credits)rWcredits)r.rrrrQszAboutDialog.show_py_creditscCs|ddddS)NzAbout - CreditszCREDITS.txtzutf-8)display_file_text)r.rrrrTszAboutDialog.show_idle_creditscCs|ddddS)NzAbout - Readmez
README.txtascii)r[)r.rrrrRszAboutDialog.show_readmecCs|ddddS)NzAbout - NEWSzNEWS.txtzutf-8)r[)r.rrrrSszAboutDialog.show_idle_newscCs.|d|j}tj||||jd|_dS)N
)r)_Printer__setuprK_Printer__linesrZ	view_textrr-)r.r)Zprinterr3rrrrWsz AboutDialog.display_printer_textcCs:tjtjtjt|}tj|||||jd|_	dS)N)r)
rIrJrKrLrMrNrZ	view_filerr-)r.r)filenameencodingfnrrrr[szAboutDialog.display_file_textcCs||dS)N)Zgrab_releaseZdestroy)r.Zeventrrrr*szAboutDialog.ok)N)N)N)__name__
__module____qualname__r%r(rOrPrQrTrRrSrWr[r*rrrrrs"V
r__main__)mainz!idlelib.idle_test.test_help_aboutrF)	verbosityexit)run)rIrrrrZtkinterrrrrrr	r
rrr
rrrrrZidlelibrrrrcZunittestrgZidlelib.idle_test.htestrjrrrr<module>s05