+
     Bi?#                     v   R t ^ RIt^ RIt^ RIt^ RIHtHt ^ RIHtH	t	H
t
HtHt ^ RIHtHtHtHtHtHtHtHtHtHt ^ RIHt ]! 4       t]P                  R8X  d   ]P4                  R8  d   RMRtM]! 4       ^ ,          R	,          t ! R
 R]4      t]R8X  d"   ^ RIHt ]! R^RR7       ^ RI H!t! ]!! ]4       R# R# )zAbout Dialog for IDLE

N)python_versionarchitecture)ToplevelFrameLabelButton
PhotoImage)
SUNKENTOPBOTTOMLEFTXBOTHWEWNSEWE)textviewdarwin6432N   Nc                   ~   a  ] tR t^t o RtRRRRR/R lltR tR tR	 tR
 t	R t
R tR tR tRR ltRR ltRtV tR# )AboutDialogz!Modal about dialog for idle

    N_htestF_utestc               @   \         P                  ! W4       V P                  ^R7       T P                  RVP	                  4       ^,           VP                  4       V'       g   ^M^d,           3,          4       RV n        RV n        V P                  4        V P                  RRR7       T P                  T;'       g    R\         R\         R	24       V P                  V4       V P                  4        V P                  R
V P                   4       Wn        V P$                  P'                  4        V P)                  RV P                   4       V P)                  RV P                   4       RV n        W@n        V'       g#   V P/                  4        V P1                  4        R# R# )zCreate popup, do not return until tk widget destroyed.

parent - parent of this dialog
title - string which is title of popup dialog
_htest - bool, change box location when running htest
_utest - bool, don't wait_window when running unittest
)borderwidthz+%d+%dz#bbbbbbz#000000F)heightwidthzAbout IDLE z (z bit)WM_DELETE_WINDOWz<Return>z<Escape>N)r   __init__	configuregeometrywinfo_rootxwinfo_rootybgfgcreate_widgets	resizabletitlepyverbits	transientgrab_setprotocolokparent	button_ok	focus_setbind_current_textviewr   	deiconifywait_window)selfr2   r+   r   r   s   &&&$$)/usr/lib/python3.14/idlelib/help_about.pyr"   AboutDialog.__init__   sC    	$'1%h**,R/**,bCH"J J 	K e51

5 6 6 r$u5	7v($''2  "		*dgg&		*dgg&!%NN     c           	       aa \        V ^\        R7      p\        V 4      pVP                  \        \        R7       VP                  \
        R\        R7       \        VRV P                  R7      V n	        V P                  P                  ^^R7       \        WP                  R7      pVP                  R\        R	7       \        VR
V P                  V P                  R/R7      pVP                  ^ ^ \        ^
^
R7       V P                  4       P!                  R4      pVR8  d   RMRp\"        P$                  P'                  \"        P$                  P)                  \"        P$                  P+                  \,        4      4      RRV 24      p\/        V P                  4       VR7      V n        \        W0P0                  V P                  R7      pVP                  ^ ^ \2        ^^
^
R7       R0p	\        W9\4        V P                  V P                  R7      p
V
P                  ^^ \2        ^^
^R7       Ro\        VR^#V P                  V3R lR7      pVP                  ^^ \2        ^
^
R7       R\6        P8                  R,          ,          o\        VR^#V P                  V3R lR7      pVP                  ^^ ^\2        ^
^
R 7       \        V^\        ^V P                  R!7      P                  ^^ \:        ^^^R7       \=        V P?                  4       4      pW]8w  d
   R"V,           MR#pR$\@         R%V V 2p\        W?V P                  V P                  R&7      pVP                  ^	^ \2        ^
^ R7       \        W0P                  R7      pVP                  ^
^ ^\B        R'7       \        VR(^V P                  V PD                  R7      V n#        V PF                  P                  \4        ^
^
R)7       \        VR*^V P                  V PH                  R7      V n%        V PJ                  P                  \4        ^
^
R)7       \        VR+^V P                  V PL                  R7      V n'        V PN                  P                  \4        ^
^
R)7       \        V^\        ^V P                  R!7      P                  ^^ \:        ^^^R7       \        VR
V P                  V P                  R&7      pVP                  ^^ \2        ^
^ R7       \        W0P                  R7      pVP                  ^^ ^\B        R'7       \        VR,^V P                  V PP                  R7      V n)        V PR                  P                  \4        ^
^
R)7       \        VR-^V P                  V PT                  R7      V n+        V PV                  P                  \4        ^
^
R)7       \        VR+^V P                  V PX                  R7      V n-        V PZ                  P                  \4        ^
^
R)7       R.# )1r   )r   relief)sidefillT)r?   expandr@   Close)textcommand)padxpady)r'   )rA   r@   IDLE)rC   r(   r'   font)rowcolumnstickyrE   rF   tk_patchLevelz8.6z.pngz.gifIconsidle_48)masterfile)imager'   )rI   rJ   rK   rowspanrE   rF   )rC   justifyr(   r'   )rI   rJ   rK   
columnspanrE   rF   zhttps://discuss.python.orgzPython (and IDLE) Discussionc                  0   < \         P                  ! S 4      # N
webbrowseropen)
forums_urls   r:   <lambda>,AboutDialog.create_widgets.<locals>.<lambda>\   s    1Lr<   )rC   r    highlightbackgroundrD   z/https://docs.python.org/%d.%d/library/idle.htmlr   zIDLE Documentationc                  0   < \         P                  ! S 4      # rV   rW   )docs_urls   r:   r[   r\   d   s    1Jr<   )rI   rJ   rT   rK   rE   rF   )r   r>   r   r'   z and  zPython z with tcl/tk )rC   r(   r'   )rI   rJ   rT   rK   License)r?   rE   rF   	CopyrightCreditsReadmeNewsN)courier   boldz=Python's Integrated Development
and Learning Environment




).r   r	   packr   r   r
   r   r   r1   r3   r'   r   r(   gridr   _rootgetvarospathjoinabspathdirname__file__r   
icon_imager   r   sysversion_infor   strinfo_patchlevelr,   r   show_py_license
py_licenseshow_py_copyrightpy_copyrightshow_py_credits
py_creditsshow_readmereadmeshow_idle_news	idle_newsshow_idle_creditsidle_credits)r9   frameframe_buttonsframe_backgroundheadertkpatchexticonlogobyline_textbylineforumsdocstclvertkverversionsvers
py_buttonsidleidle_buttonsr_   rZ   s   &                   @@r:   r)   AboutDialog.create_widgets<   s   d&9dQ/

Dt
4G(,1+ 773T5'f''(?A!ABR@**,%%o65(ffww||BGGOOBGGOOH,EF#wse_6$DJJLtD%__I		a!QRb	IZ'4''dgg/!A!"1M1
(/MUW59WW)LN 	!ABR@ F$$R()&-A59WW)JL 			aa	L 	Af477	$$(DQq45AA %) %G T))+,%,%6'!BUG=@%TWWM		a!"1	=+8
BqQtD )159WW)-)=)=? 	$Rb9":Kq7;ww+/+A+AC 	Dr; )159WW)-)=)=? 	$Rb9Af477	$$(DR"45AA %) %G %Ftww477K		b12A	>-'':bqF\15%)%5%57 	d"5648GG(,(;(;= 	BR8"<iq7;ww+/+A+AC 	Dr;r<   c                2    V P                  R\        4       R# )zHandle License button event.zAbout - LicenseN)display_printer_textlicenser9   s   &r:   rx   AboutDialog.show_py_license   s    !!"3W=r<   c                2    V P                  R\        4       R# )zHandle Copyright button event.zAbout - CopyrightN)r   	copyrightr   s   &r:   rz   AboutDialog.show_py_copyright   s    !!"5yAr<   c                2    V P                  R\        4       R# )z#Handle Python Credits button event.zAbout - Python CreditsN)r   creditsr   s   &r:   r|   AboutDialog.show_py_credits   s    !!":GDr<   c                ,    V P                  RRR4       R# )z!Handle Idle Credits button event.zAbout - CreditszCREDITS.txtutf-8Ndisplay_file_textr   s   &r:   r   AboutDialog.show_idle_credits   s    0-Ir<   c                ,    V P                  RRR4       R# )zHandle Readme button event.zAbout - Readmez
README.txtasciiNr   r   s   &r:   r~   AboutDialog.show_readme   s    /wGr<   c                ,    V P                  RRR4       R# )zHandle News button event.zAbout - Newsz	News3.txtr   Nr   r   s   &r:   r   AboutDialog.show_idle_news   s    ~{GDr<   c                    VP                  4        RP                  VP                  4      p\        P                  ! WW0P
                  R7      V n        R# )zCreate textview for built-in constants.

Built-in constants have type _sitebuiltins._Printer.  The
text is extracted from the built-in and then sent to a text
viewer with self as the parent and title as the title of
the popup.

r   N)_Printer__setupro   _Printer__linesr   	view_textr   r6   )r9   r+   printerrC   s   &&& r:   r    AboutDialog.display_printer_text   s@     	!yy001!)!3!3kk"3r<   c                   \         P                  P                  \         P                  P                  \         P                  P	                  \
        4      4      V4      p\        P                  ! WWCV P                  R7      V n	        R# )zCreate textview for filename.

The filename needs to be in the current directory.  The path
is sent to a text viewer with self as the parent, title as
the title of the popup, and the file encoding.
r   N)
rm   rn   ro   rp   rq   rr   r   	view_filer   r6   )r9   r+   filenameencodingfns   &&&& r:   r   AboutDialog.display_file_text   sP     WW\\"''//"''//(*CDhO!)!3!3dkk";r<   c                F    V P                  4        V P                  4        R# )zDismiss help_about dialog.N)grab_releasedestroy)r9   events   &&r:   r1   AboutDialog.ok   s    r<   )r6   r   r'   r3   r(   rs   r   r   r2   r{   r}   ry   r   rV   )__name__
__module____qualname____firstlineno____doc__r"   r)   rx   rz   r|   r   r~   r   r   r   r1   __static_attributes____classdictcell__)__classdict__s   @r:   r   r      s\      U  5  DW<t>BEJHE3	; r<   r   __main__)mainz!idlelib.idle_test.test_help_aboutF)	verbosityexit)runl        )"r   rm   rt   rX   platformr   r   tkinterr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   idlelibr   r,   maxsizer-   r   r   unittestr   idlelib.idle_test.htestr    r<   r:   <module>r      s    
 
  1 > > F F F <<8;;&4DD>!R Du( up z	,F+ r<   