b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 172.67.192.52 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / idlelib /
Filename/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyc
Size4.22 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:39
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@sdZddkTddkZdefd��YZedjo<e�Zd�Ze edd d
e�i
�ei �ndS( s~
Dialog that allows user to specify a new config file section name.
Used to get new highlight theme and keybinding set names.
iÿÿÿÿ(t*NtGetCfgSectionNameDialogcBs;eZd�Zd�Zd�Zdd�Zdd�ZRS(cCs>ti||�|idd�|idtdt�|i|�|i|�|i�|id|i �||_
||_ ||_ d|_
|i�|i�|i�|iid|ii��|id|i�|i�d|i�d|i�|i�d|i�df�|i�|i�d S(
s�
message - string, informational message to display
usedNames - list, list of names already in use for validity check
t borderwidthitheighttwidthtWM_DELETE_WINDOWts+%d+%diN(tToplevelt__init__t configuret resizabletFALSEttitlet transienttgrab_settprotocoltCanceltparenttmessaget usedNamestresultt
CreateWidgetstwithdrawtupdate_idletaskst messageInfotconfigt frameMaintwinfo_reqwidthtgeometryt winfo_rootxt winfo_widtht winfo_rootyt winfo_heighttwinfo_reqheightt deiconifyt wait_window(tselfRR RR((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyR s,


    


 
c Cs�t|�|_t|�|_t|dddt�|_|iidtdtdt �t
|idt dt d d
d d
d |i
�|_t|id
|idd�}|i�|iid d
d d
�|id d
d d
�t|�}|idtdt�t|d dddd|i�|_|iiddddd d
d d
�t|d dddd|i�|_|iiddddd d
d d
�dS(NRitrelieftsidetexpandtfilltanchortjustifytpadxitpadyttextt textvariableRitOkitcommandtrowitcolumnRi(t StringVartnametfontSizetFrametSUNKENRtpacktTOPtTRUEtBOTHtMessagetWtLEFTRRtEntryt focus_settBOTTOMtXtButtonR/tbuttonOktgridRt buttonCancel(R$t entryNamet frameButtons((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyR&s$$
 %cCsÃd}|ii�}|i�|p&tiddddd|�d}ntt|�djo*tidddd d
d|�d}n7||ijo&tidddd d|�d}n|S( NiR s
Name ErrorRsNo name specified.Riis)Name too long. It should be no more than s30 characters.sThis name is already in use.(R4tgettstript tkMessageBoxt showerrortlenR(R$tnameOkR4((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pytNameOk:s"





cCs7|i�o&|ii�i�|_|i�ndS(N(ROR4RIRJRtdestroy(R$tevent((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyR/Os
cCsd|_|i�dS(NR(RRP(R$RQ((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyRTs N(t__name__t
__module__RRROtNoneR/R(((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyRs
    t__main__cCs$d}ttdd�}|iGHdS(NRsGet Names:The information here should need to be word wrapped. Test.(RtrootR(tkeySeqtdlg((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pytrun[s  R-tDialogR0( t__doc__tTkinterRKRRRRtTkRVRYRCR8tmainloop(((s7/usr/lib64/python2.6/idlelib/configSectionNameDialog.pyt<module>s
 P