/opt/alt/python27/lib64/python2.7/idlelib
NameSizeModeActions
Icons/-0755rm
idle_test/-0755rm
aboutDialog.py70140644editdlrm
aboutDialog.pyc70170644editdlrm
aboutDialog.pyo70170644editdlrm
AutoComplete.py89640644editdlrm
AutoComplete.pyc81810644editdlrm
AutoComplete.pyo81810644editdlrm
AutoCompleteWindow.py173180644editdlrm
AutoCompleteWindow.pyc127140644editdlrm
AutoCompleteWindow.pyo126550644editdlrm
AutoExpand.py33950644editdlrm
AutoExpand.pyc35800644editdlrm
AutoExpand.pyo35800644editdlrm
Bindings.py29760644editdlrm
Bindings.pyc47080644editdlrm
Bindings.pyo47080644editdlrm
CallTips.py77400644editdlrm
CallTips.pyc83540644editdlrm
CallTips.pyo83540644editdlrm
CallTipWindow.py60650644editdlrm
CallTipWindow.pyc62920644editdlrm
CallTipWindow.pyo62920644editdlrm
ChangeLog563930644editdlrm
ClassBrowser.py69990644editdlrm
ClassBrowser.pyc98900644editdlrm
ClassBrowser.pyo98900644editdlrm
CodeContext.py83420644editdlrm
CodeContext.pyc67880644editdlrm
CodeContext.pyo67440644editdlrm
ColorDelegator.py97620644editdlrm
ColorDelegator.pyc91190644editdlrm
ColorDelegator.pyo91190644editdlrm
config-extensions.def29650644editdlrm
config-highlight.def25150644editdlrm
config-keys.def77770644editdlrm
config-main.def25610644editdlrm
configDialog.py659580644editdlrm
configDialog.pyc544350644editdlrm
configDialog.pyo544350644editdlrm
configHandler.py324850644editdlrm
configHandler.pyc299850644editdlrm
configHandler.pyo299850644editdlrm
configHelpSourceEdit.py66860644editdlrm
configHelpSourceEdit.pyc67120644editdlrm
configHelpSourceEdit.pyo67120644editdlrm
configSectionNameDialog.py40400644editdlrm
configSectionNameDialog.pyc45100644editdlrm
configSectionNameDialog.pyo45100644editdlrm
CREDITS.txt18660644editdlrm
Debugger.py182360644editdlrm
Debugger.pyc181440644editdlrm
Debugger.pyo181440644editdlrm
Delegator.py6650644editdlrm
Delegator.pyc13460644editdlrm
Delegator.pyo13460644editdlrm
dynOptionMenuWidget.py19840644editdlrm
dynOptionMenuWidget.pyc28680644editdlrm
dynOptionMenuWidget.pyo28680644editdlrm
EditorWindow.py654980644editdlrm
EditorWindow.pyc585220644editdlrm
EditorWindow.pyo584200644editdlrm
extend.txt36420644editdlrm
FileList.py37180644editdlrm
FileList.pyc41680644editdlrm
FileList.pyo41350644editdlrm
FormatParagraph.py72870644editdlrm
FormatParagraph.pyc73110644editdlrm
FormatParagraph.pyo73110644editdlrm
GrepDialog.py51450644editdlrm
GrepDialog.pyc66070644editdlrm
GrepDialog.pyo66070644editdlrm
help.html424140644editdlrm
help.py110350644editdlrm
help.pyc125430644editdlrm
help.pyo125430644editdlrm
help.txt121440644editdlrm
HISTORY.txt103170644editdlrm
HyperParser.py104970644editdlrm
HyperParser.pyc68030644editdlrm
HyperParser.pyo68030644editdlrm
idle.py4530644editdlrm
idle.pyc4230644editdlrm
idle.pyo4230644editdlrm
idle.pyw5630644editdlrm
IdleHistory.py40520644editdlrm
IdleHistory.pyc41510644editdlrm
IdleHistory.pyo41510644editdlrm
idlever.py4150644editdlrm
idlever.pyc5910644editdlrm
idlever.pyo5910644editdlrm
IOBinding.py219110644editdlrm
IOBinding.pyc190680644editdlrm
IOBinding.pyo190680644editdlrm
keybindingDialog.py124680644editdlrm
keybindingDialog.pyc123680644editdlrm
keybindingDialog.pyo123680644editdlrm
macosxSupport.py84350644editdlrm
macosxSupport.pyc85850644editdlrm
macosxSupport.pyo84470644editdlrm
MultiCall.py177010644editdlrm
MultiCall.pyc167930644editdlrm
MultiCall.pyo167190644editdlrm
MultiStatusBar.py13480644editdlrm
MultiStatusBar.pyc23570644editdlrm
MultiStatusBar.pyo23570644editdlrm
NEWS.txt472470644editdlrm
ObjectBrowser.py43760644editdlrm
ObjectBrowser.pyc74310644editdlrm
ObjectBrowser.pyo74310644editdlrm
OutputWindow.py45760644editdlrm
OutputWindow.pyc54270644editdlrm
OutputWindow.pyo54270644editdlrm
ParenMatch.py67140644editdlrm
ParenMatch.pyc73500644editdlrm
ParenMatch.pyo73500644editdlrm
PathBrowser.py30090644editdlrm
PathBrowser.pyc46810644editdlrm
PathBrowser.pyo46810644editdlrm
Percolator.py32220644editdlrm
Percolator.pyc48030644editdlrm
Percolator.pyo46190644editdlrm
PyParse.py195100644editdlrm
PyParse.pyc102260644editdlrm
PyParse.pyo97880644editdlrm
PyShell.py588590755editdlrm
PyShell.pyc542690644editdlrm
PyShell.pyo541670644editdlrm
README.txt78900644editdlrm
RemoteDebugger.py116320644editdlrm
RemoteDebugger.pyc171310644editdlrm
RemoteDebugger.pyo169770644editdlrm
RemoteObjectBrowser.py9420644editdlrm
RemoteObjectBrowser.pyc22800644editdlrm
RemoteObjectBrowser.pyo22800644editdlrm
ReplaceDialog.py66390644editdlrm
ReplaceDialog.pyc80160644editdlrm
ReplaceDialog.pyo80160644editdlrm
rpc.py201500644editdlrm
rpc.pyc224950644editdlrm
rpc.pyo223890644editdlrm
RstripExtension.py10500644editdlrm
RstripExtension.pyc16650644editdlrm
RstripExtension.pyo16650644editdlrm
run.py129170644editdlrm
run.pyc137700644editdlrm
run.pyo137120644editdlrm
ScriptBinding.py84590644editdlrm
ScriptBinding.pyc83700644editdlrm
ScriptBinding.pyo83700644editdlrm
ScrolledList.py43730644editdlrm
ScrolledList.pyc67680644editdlrm
ScrolledList.pyo67680644editdlrm
SearchDialog.py26300644editdlrm
SearchDialog.pyc41390644editdlrm
SearchDialog.pyo41390644editdlrm
SearchDialogBase.py70940644editdlrm
SearchDialogBase.pyc86310644editdlrm
SearchDialogBase.pyo86310644editdlrm
SearchEngine.py74630644editdlrm
SearchEngine.pyc85750644editdlrm
SearchEngine.pyo85750644editdlrm
StackViewer.py44310644editdlrm
StackViewer.pyc66770644editdlrm
StackViewer.pyo66770644editdlrm
tabbedpages.py184390644editdlrm
tabbedpages.pyc190810644editdlrm
tabbedpages.pyo190810644editdlrm
textView.py35200644editdlrm
textView.pyc41160644editdlrm
textView.pyo41160644editdlrm
TODO.txt84780644editdlrm
ToolTip.py31730644editdlrm
ToolTip.pyc48900644editdlrm
ToolTip.pyo48900644editdlrm
TreeWidget.py150370644editdlrm
TreeWidget.pyc183830644editdlrm
TreeWidget.pyo183830644editdlrm
UndoDelegator.py107870644editdlrm
UndoDelegator.pyc142180644editdlrm
UndoDelegator.pyo142180644editdlrm
WidgetRedirector.py69060644editdlrm
WidgetRedirector.pyc79510644editdlrm
WidgetRedirector.pyo79510644editdlrm
WindowList.py24730644editdlrm
WindowList.pyc38310644editdlrm
WindowList.pyo38310644editdlrm
ZoomHeight.py13000644editdlrm
ZoomHeight.pyc17110644editdlrm
ZoomHeight.pyo17110644editdlrm
__init__.py2880644editdlrm
__init__.pyc4440644editdlrm
__init__.pyo4440644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyc (54435B)
 [ bc@sNdZddlTddlZddlZddlZddlmZddlmZddl m Z ddl m Z ddl mZdd lmZdd lmZdd lmZd efd YZdZidd6ZdZdefdYZedkrJddlZejddddeddl m!Z!e!endS(sIDLE Configuration Dialog: support user customization of IDLE by GUI Customize font faces, sizes, and colorization attributes. Set indentation defaults. Customize keybindings. Colorization and keybindings can be saved as user defined sets. Select startup options including shell/editor and default window size. Define additional help sources. Note that tab width in IDLE is currently fixed at eight due to Tk issues. Refer to comments in EditorWindow autoindent code for details. i(t*N(tidleConf(t DynOptionMenu(t GetKeysDialog(tGetCfgSectionNameDialog(tGetHelpSourceDialog(t TabbedPageSet(t view_text(t macosxSupportt ConfigDialogcBseZdeedZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.dNd-Z0d.Z1d/Z2d0Z3d1Z4d2Z5d3Z6d4Z7d5Z8d6Z9d7Z:d8Z;d9Z<d:Z=d;Z>d<Z?d=Z@d>ZAd?ZBd@ZCdAZDdBZEdCZFdDZGdEZHdFZIdGZJdHZKdIZLdJZMdKZNdLZOdMZPRS(OtcCstj||||_|r+i|_n|j|jdd|j|pTd|jd|jd|j |sdndfid6d 6d7d 6d8d6d9d6d:d6d;d6d<d6d=d6d>d"6d?d%6d@d(6dAd+6dBd.6dCd16|_ |j |j |j d2td3t|j||j|jd4|j|jj|j|j|s|j|jnd5S(Ds _htest - bool, change box location when running htest _utest - bool, don't wait_window when running unittest t borderwidthisIDLE Preferencess+%d+%diiitnormalt00s Normal Texttkeywordt01sPython Keywordst definitiont02sPython Definitionstbuiltint03sPython Builtinstcommentt04sPython Commentststringt05sPython Stringsthilitet06s Selected Textthitt07s Found Texttcursort08tCursortbreakt09sEditor Breakpointtconsolet10sShell Normal Textterrort11sShell Error Texttstdoutt12sShell Stdout Texttstderrt13sShell Stderr TexttheighttwidthtWM_DELETE_WINDOWN(R R (RR(RR(RR(RR(RR(RR(RR(RR(RR (R!R"(R#R$(R%R&(R'R((tToplevelt__init__tparentt instance_dictt wm_withdrawt configurettitletgeometryt winfo_rootxt winfo_rootyt themeElementstResetChangedItemst CreateWidgetst resizabletFALSEt transienttgrab_settprotocoltCancelttabPagest focus_sett LoadConfigstAttachVarCallbackst wm_deiconifyt wait_window(tselfR.R2t_htestt_utest((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR-sJ   !         cCst|ddddddg|_|jjdtdtd t|j|j|j|j |j |j jdt dS( Nt page_namess Fonts/Tabst HighlightingtKeystGeneralt Extensionstsidetexpandtfill( RR?tpacktTOPtTRUEtBOTHtCreatePageFontTabtCreatePageHighlighttCreatePageKeystCreatePageGeneraltCreatePageExtensionstcreate_action_buttonstBOTTOM(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR8Os       c Cstjri}nidd6dd6}t|dd}t|dd}xud|jfd|jfd|jfd |jffD]=\}}t|d |d |d t|j d t ddqWt|ddddj d t |j d t |S(NitpadxitpadyitOktApplyR>tHelpttexttcommandt takefocusRMiR)R i( RtisAquaTktFrameR]R^R>R_tButtonR:RPtLEFTRQRZ(REt paddingArgstoutertbuttonsttxttcmd((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRY[s     "c Cs|j}t||_t||_t||_t||_tj |d+|_ |j j dj }t|dddtdd }t|dddtdd }t|}t|}t|d tdd }t|d ddtdt|_|jjd|jt|}|jd|jj|jjd|jt|dd} t||jdd|j|_t |d|jddddddd|j} t|dt!dd} t| d td|j dd|_"t|} t| d tdd} t#| d|jddd dd!dd"d#|_$|j%d$td%dd&dd't&d(t'|j%d$td%dd&dd(t(|j%d$t)d%dd&dd(t*|j%d$t)d%dd&dd(t*|j%d$t)d)t+|jj%d$td't&d(t*|j%d$td(t(| j%d$td)t+|jj%d$td)t+| j%d$td)t+d%d*| j%d$t)d%dd&dd't&d(t'|j"j%d't&d(t'| j%d$t)d(t*| j%d$t)d)t+d%d|j$j%d$t)d%dd(t*|S(,Ntcourieri R s Fonts/TabsR itreliefR`s Base Editor Font s Indentation Width tjustifys Font Face :R)iRbtexportselectionsRatyscrollcommandsSize :tvariabletonvalueitoffvalueitBoldtfonts,AaBbCcDdEe FfGgHhIiJjK 1234567890 #:+=(){}[]sPython Standard: 4 Spaces!torientt horizontalt tickintervaltfrom_ttoiRMR[R\RNROtanchori(Rli R (,R.t StringVartfontSizet BooleanVartfontBoldtfontNametIntVartspaceNumttkFonttFontteditFontR?tpagestframet LabelFrametGROOVERdtLabelRftListboxR:t listFontNametbindtOnListFontButtonReleaset ScrollbartconfigtyviewtsetRtNonet SetFontSampletoptMenuFontSizet CheckbuttontSOLIDtlabelFontSampletScalet scaleSpaceNumRPRRRStYRQtXtW(RER.Rt frameFontt frameIndentt frameFontNametframeFontParamtlabelFontNameTitlet scrollFonttlabelFontSizeTitlet checkFontBoldtframeFontSampletframeIndentSizetlabelSpaceNumTitle((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRTpsn          ("""(c!CsB|j}t||_t||_t||_t||_t||_t||_t||_ |j j dj }t |dddtdd}t |dddtdd}t|dtddd dZd ddddddtdddt |_|j}|jdd|jddd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzf }x)|D]!}|jt|d|dqWx;|jD]0}|dA} |j|j|ddB| qW|jdCtt|dtdd|_t|} t|jddDdE|jdd} t|j|j ddd|_!t"| dF|jdGdddHdE|j#|_$t"| dF|jdGdddIdE|j#|_%|jj&dt|ddJdE|j'} t(|ddK} t"|dF|jdGddE|j)ddL|_*t"|dF|jdGddE|j)ddM|_+t||jddEd|_,t||jddEd|_-t|ddNdE|j.|_/t(|dOd|_0|j1dPt2dQdRdSdRdTt3dUt4|j1dPt2dQdRdSdRdUt5|jj1dPt6dQdRdSdRdTt3dUt7| j1dPt6dQdRdSd|jj1dPt6dQdRdSdRdTt3dUt4| j1dPt6dTt3dUt7dQdVdSdW|j!j1dPt6dTt3dUt7dQdVdSdX|j$j1dPt2dYt8|j%j1dPt9dYt:| j1dPt;dUt7dQdRdSdR| j1dPt6dYt:dQdRdSdR|j*j1dPt6dYt:dQdR|j+j1dPt6dYt:dQdRdSd|j,j1dPt6dUt7dQdRdSdR|j-j1dPt6dUt7dYt:dQdRdSdR|j/j1dPt6dUt7dQdRdSdR|j0j1dPt6dUt7dSdR|S({NRIR iRmR`s Custom Highlighting s Highlighting Theme iRuRli R Rthand2R*iR)i RbthighlightthicknessitwrapscSsdS(NR((te((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pytR s cSsdS(NR((R((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRR s#you can click hereRs R s#to choose itemstdefRt tfuncRs (param): s """string"""Rs var0 = s'string's var1 = s 'selected'Rs var2 = s'found'Rs var3 = tlistRt(Rs) s breakpoint("line")Rs s error R#scursor |s tshellR!R%R'cSs|jjjj|dS(N(twidgettwinfo_toplevelthighlightTargetR(teventtelem((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyttemsststatesChoose Colour for :RaRqtvaluet Foregroundt BackgroundsSave as New Custom Themes Select : sa Built-in Themesa Custom ThemesDelete Custom ThemetbdRMR[iR\RNROiiiR{(Rli R (s#you can click hereR(s R (s#to choose itemsR(s R (RR(RR (RR(s (param): R (s """string"""R(s var0 = R (s'string'R(s var1 = R (s 'selected'R(s var2 = R (s'found'R(s var3 = R (RR(RR (RR(s) R (s breakpoint("line")R(s R (s error R#(RR (scursor |R(s R (RR!(RR (R%R%(RR (R'R'(s R (<R.R|t builtinThemet customThemeR~tfgHilitetcolourRtthemeIsBuiltinRR?RRRRtTextRR:tNONEttextHighlightSampleRtinserttENDR6ttag_bindRtDISABLEDRdtframeColourSetRet GetColourRRtoptMenuHighlightTargett RadiobuttontSetColourSampleBindingtradioFgtradioBgRtSaveAsNewThemeRt SetThemeTypetradioThemeBuiltintradioThemeCustomtoptMenuThemeBuiltintoptMenuThemeCustomtDeleteCustomThemetbuttonDeleteCustomThemetnew_custom_themeRPRfRRRSRRQRtEtRIGHTRRZ(RER.Rt frameCustomt frameThemeR`t textAndTagsttxTatelementRt frameFgBgtbuttonSetColourtbuttonSaveCustomThemetlabelTypeTitle((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRUs            ("+ ( ""%%+%c Cs|j}t||_t||_t||_t||_t||_|jj dj }t |dddt dd}t |dddt dd}t |}t|dd}t|}t|d t}t|d td t|_|jjd |j|jd |jj|jd |jj|jjd|j|jjd|jt|ddd |jdt|_gtdD]$} t |dddddd^q} t| dd|jddd |j dd|_!t| dd|jddd |j dd|_"t#| d|jdd d|_%t#| d|jdd d|_&t| dddd |j'|_(t| dddd |j)} |j*dt+dddddt,dt-|j*dt+dddddt-|jj*dt+dt.dddd|j*dt/dddddt,dt-|j0dd d|j1dd d|j2d!dd"dd#dd$t3|jj2d!dd"dd$t4|j2d!dd"dd$t5|j2d!dd"dd$t6|j!j2d!dd"dd$t3t5|j"j2d!dd"dd$t3t5|j%j2d!dd"dd$t4|j&j2d!dd"dd$t4|j(j*dt/dt.dt7dd| j*dt/dt.dt7dd| dj*dt8dt-dt7| dj*dt8dt.dt7dd|S(%NRJR iRmR`s Custom Key Bindings s Key Set sAction - Key(s)RvRbRosRaRptxscrollcommandsGet New Keys for SelectionRR[R\iRqRisUse a Built-in Key SetsUse a Custom Key SetsDelete Custom Key SetsSave as New Custom Key SetRMiRNROtweighttrowtcolumnt columnspantsticky(9R.R|t bindingTargett builtinKeyst customKeysR~tkeysAreBuiltint keyBindingR?RRRRRdRRt HORIZONTALRR:t listBindingsRtKeyBindingSelectedRRtxviewRRet GetNewKeysRt buttonNewKeystrangeRt SetKeysTypetradioKeysBuiltintradioKeysCustomRRtoptMenuKeysBuiltintoptMenuKeysCustomtDeleteCustomKeystbuttonDeleteCustomKeystSaveAsNewKeySetRPRZRRRSRRftcolumnconfiguret rowconfiguretgridRtNSEWtNStEWtTrueRQ( RER.RRt frameKeySetst frameTargettlabelTargetTitlet scrollTargetYt scrollTargetXtitframestbuttonSaveCustomKeys((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRV#s~     4 ("%("##%" &c Cs1|j}t||_t||_t||_t||_t||_t||_ t||_ |j j dj }t|dddtdd}t|dddtdd}t|dddt}t|dddt}t|dddtdd}t|dd }t|d |jd d d |jdd} t|d |jd dd |jdd} t|dd} t|d |jd dd |jdd} t|d |jd d d |jdd} t|dd}t|dd}t|d|jdd}t|dd}t|d|jdd}t|dd}t|d |jd ddd}t|d |jd ddd}t|d |jd ddd }t|}t|}t|}t|d!d"d#td$t|_|jd |jj|jjd%|j|jjd&|jt|dd'd(tdd)d |j |_!t|dd*dd)d |j"|_#t|dd+d(tdd)d |j$|_%|j&d,t'd-d"d.d"d/t(|j&d,t'd-d"d.d"d/t(|j&d,t'd-d"d.d"d/t(|j&d,t'd-d"d.d"d/t(|j&d,t'd-d"d.d"d0t)d/t*|j&d,t+d1t,d-d"d.d"| j&d,t-d1t,d-d"d.d"| j&d,t-d1t,d-d"d.d"| j&d,t+d1t,d-d"d.d"| j&d,t-d1t,d-d"d.d"| j&d,t-d1t,d-d"d.d"|j&d,t+d1t,d-d"d.d"|j&d,t-d1t.d-d2d.d"|j&d,t-d1t.d.d"|j&d,t-d1t.d-d2d.d"|j&d,t-d1t.d.d"|j&d,t+d1t,d-d"d.d"|j&d,t-d1t.d.d"|j&d,t-d1t.d.d"|j&d,t-d1t.d.d"|j&d,t-d-d"d.d"d/t/|j&d,t'd-d"d.d"d0t)d/t*|j&d,t-d1t,d/t/|jj&d,t+d1t.d0t)d/t*|j!j&d,t'd1t,d.d"|j#j&d,t'd1t,|j%j&d,t'd1t,d.d"|S(3NRKR iRmR`s Startup Preferences s Autosave Preferences s Additional Help Sources s At StartupRqRiRasOpen Edit WindowisOpen Shell WindowsAt Start of Run (F5) sPrompt to Saves No Prompts$Initial Window Size (in characters)tWidtht textvariableR*itHeightsDefault Source EncodingtlocalesLocale-definedsutf-8sUTF-8tnoneRR)iRbRoRpstEditRitAddtRemoveRMR[R\RORNR{i (0R.R|twinWidtht winHeightRt startupEdittautoSavetencodingR~tuserHelpBrowsert helpBrowserR?RRRRRdRRRtEntryRRR:tlistHelpRRRRtHelpSourceSelectedReRtHelpListItemEdittbuttonHelpListEdittHelpListItemAddtbuttonHelpListAddtHelpListItemRemovetbuttonHelpListRemoveRPRQRRRRSRfRRRR(RER.RtframeRunt frameSavet frameWinSizet frameEncodingt frameHelptlabelRunChoiceTitletradioStartupEdittradioStartupShelltlabelRunSaveTitlet radioSaveAskt radioSaveAutotlabelWinSizeTitletlabelWinWidthTitlet entryWinWidthtlabelWinHeightTitletentryWinHeighttlabelEncodingTitletradioEncLocalet radioEncUTF8t radioEncNonet frameHelpListtframeHelpListButtonstscrollHelpList((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRWps         """"("""""""""""(%cCs|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j|j jd|j |j jd|j |j jd|j|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j|jjd|j |j!jd|j"dS(Ntw(#R}ttrace_variabletVarChanged_fontRRRtVarChanged_spaceNumRtVarChanged_colourRtVarChanged_builtinThemeRtVarChanged_customThemeRtVarChanged_themeIsBuiltinRtVarChanged_highlightTargetRtVarChanged_keyBindingRtVarChanged_builtinKeysRtVarChanged_customKeysRtVarChanged_keysAreBuiltinRtVarChanged_winWidthRtVarChanged_winHeightRtVarChanged_startupEditRtVarChanged_autoSaveRtVarChanged_encoding(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRBs$cCsx|j|j|j|j|j|j|j|j|j|j |j |j |j |j |j|j|j|jfD]$}|jd|jddqsWdS(NR>ii(R}RRRRRRRRRRRRRRRRRt trace_vdeletet trace_vinfo(REtvar((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pytremove_var_callbacksscGss|jj}|jddd||jj}|jddd||jj}|jddd|dS(sWhen one font attribute changes, save them all, as they are not independent from each other. In particular, when we are overriding the default font, we need to write out everything. tmaint EditorWindowRus font-sizes font-boldN(RtgettAddChangedItemR}R(REtparamsR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR@s cGs)|jj}|jddd|dS(NRTtIndents num-spaces(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRA scGs|jdS(N(tOnNewColourSet(RERX((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRBscGs|jj}|dkrtjddddkrO|jddddn|jddd||jjdd d d nE|jddd||jdddd |jjdd d d |jdS(Ns IDLE DarkRTtThemetnamesIDLE News IDLE Classictname2R`sNew theme, see Helptfgs#500000R tblack(RRVRt GetOptionRWRRtPaintThemeSample(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRCs  cGsB|jj}|dkr>|jddd||jndS(Ns- no custom themes -RTR[R\(RRVRWRa(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRD"s cGsF|jj}|jddd||r8|jn |jdS(NRTR[tdefault(RRVRWRCRD(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRE(s  cGs|jdS(N(tSetHighlightTarget(RERX((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRF0scGs|jj}|jj}|jjtjd}tj|rb|jd|||n/tj |}|d}|jd|||dS(Nitkeyst _cfgBindingst extensions( RRVRRtANCHORtsplitRt IsCoreBindingRWtGetExtnNameForEvent(RERXRtkeySetRtextNametextKeybindSection((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRG3s cGs6|jj}|jddd||j|dS(NRTRJR\(RRVRWt LoadKeysList(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRH?scGsE|jj}|dkrA|jddd||j|ndS(Ns- no custom keys -RTRJR\(RRVRWRn(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRIDs cGsF|jj}|jddd||r8|jn |jdS(NRTRJRb(RRVRWRHRI(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRJJs  cGs)|jj}|jddd|dS(NRTRUR*(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRKRscGs)|jj}|jddd|dS(NRTRUR)(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRLVscGs)|jj}|jddd|dS(NRTRKseditor-on-startup(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRMZscGs)|jj}|jddd|dS(NRTRKtautosave(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRN^scGs)|jj}|jddd|dS(NRTRUR(RRVRW(RERXR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRObscCs)iid6id6id6id6|_dS(NRTt highlightRdRf(t changedItems(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR7fscCsLt|}||j|kr3i|j||tjddtjdd}t|d||j}|S(NtuserRdRbsNew Custom Key Set(RRvRR(RERt usedNamesR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRs cCs)|jd}|r%|j|ndS(NsNew Key Set Name:(RR(REt newKeysName((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRscCs|jjdtdS(NR(RRR(RER((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRsc Cs#|jjr!|jj}n|jj}tj|}i}x8|D]0}|dd!}dj||}|||tjddtjdd}t|d||j}|S(NRRpRbsNew Custom Theme(RRvRR(RERRR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRTs cCs)|jd}|r%|j|ndS(NsNew Theme Name:(RR(REt newThemeName((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR[scCs|jjr'd}|jj}nd}|jj}tj||}||jdkr|jd|}x|D]}|||||jjdt|jjdtn^|jjrv|jjdt|jjdtn&|jjdt|jjdtdS(NiR(RtsizeR"RRR&RR(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRscCsht|dj}|rZ|jj|d|df|jjt|d|jn|jdS(NsNew Help Sourceii( RRt userHelpListtappendRRRtUpdateUserHelpChangedItemsR(REt helpSource((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR#s  cCs|jjt}|j|}t|dd|dd|dj}| sX||kr\dS||j|<|jj||jj||d|j|j dS(NsEdit Help SourcetmenuItemitfilePathi( RRRgRRRRRRR(REt itemIndexRt newHelpSource((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR!s   cCsD|jjt}|j|=|jj||j|jdS(N(RRRgRRRR(RER((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR%s   c Cspi|jdds cCs"|j|j|jdS(N(R^RR(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR]s  cCs"|j|j|jdS(N(RRR(RE((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR^s  c Cs6|jj}t|dddttj|ddS(NR2sHelp for IDLE preferencesR`R (R?t _current_pageRt help_commont help_pagesRV(REtpage((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR_s c Cs|j}|jjdj}tjd|_tjd|_|j t |_ |j t ||_ |jddd|jdddt|d|j dd |_|jjd |jt|d |jj}|j|j_t|d d dd |_|jjdddddd|jdddddd|jjdddddddddg|jddddi|_d|_||_|j|_ d}x6t!|j"D]%}|j#||d|d}qW|j j||jj$d|jddS(sPart of the config dialog used for configuring IDLE extensions. This code is generic - it works for any and all IDLE extensions. IDLE extensions save their configuration options using idleConf. This code reads the current configuration using idleConf, supplies a GUI interface to change the configuration values, and saves the changes using idleConf. Not all changes take effect immediately - some may require restarting IDLE. This depends on each extension's implementation. All values are treated as text, and it is up to the user to supply reasonable values. The only exception to this are the 'enable*' options, which are boolean, and can be toggled with a True/False button. RLRfiRiit listvariablet selectmodetbrowses<>RaR*iR)RRRtnwstnstnsewR[i R\R t{s} N(%R.R?RRRRwtext_defaultCfgRt ext_userCfgtregistertis_inttload_extensionsR|textension_namesRRRtextension_listRtextension_selectedRRRRpRt details_frameRR1t config_frameRtcurrent_extensiont outerframettabbed_page_settsortedRftcreate_extension_framet selection_set(RER.Rtscrollt ext_namestext_name((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRXs<   +     c Csi|_x'tjdtD]}g|j|yt |}d}Wq?t k r:|}d }q?XnXy+|jj ||d|dt d |}Wnt k r|}nXt|} | jt||j|ji|d 6|d6|d 6|d 6| d 6qWq=Wd S(sAFill self.extensions with data from the default and user configs.t active_onlytenabletrawRRRRRRbR\RRRN(RfRt GetExtensionsRR8R+Rxt startswithtremoveRyRtKeyErrorRRRR,R|RRrR( RER=topt_listtopt_nametenablestdef_strtdef_objtopt_typeRRR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR/sH                cCs|jj}|r*|jj|}n|dksE||jkr|jr|jjdd|j|jjd|_qn|r|jjd||j|j dddddd||_ndS(NR`R RiRRR)( R1RRVRR5R3RR4t grid_forgetR(RERtnewsel((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR2$s #cCs~t|jdddd}||j|<|j}xFt|j|D]1\}}t|d|d}|jd|ddd t|d }|d d krt |d |d|dddddt ddddjd|ddd t ddqE|d dkrHt |d |ddd|j dfjd|ddd tddqEt |d |jd|ddd tddqEWdS( s=Create a frame holding the widgets to configure one extensionR)iR*R`R\RRiRRRRRRRqRrRRsRt indicatoront selectcolorR iiR[iRtvalidateRtvalidatecommands%PN(tVerticalScrolledFrameR3R4tinteriort enumerateRfRRtNWRR:RRR.R(RER=tft entry_areaRtopttlabelRR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR92s&     cCsv|d}|d}|djjp-|}|dj|||kr`|jj||S|jj|||S(NR\RbRR(RVtstripRR,RR(RERtRWR\RbR((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pytset_extension_valueLs   cCsmt}xJ|jD]?}|j|}x)|D]!}|j||r*t}q*q*WqW|ri|jjndS(s3Save configuration changes to the user config file.N(RRfRZRR,R(REt has_changesR=R}RW((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRXs  N(Qt__name__t __module__RR-R8RYRTRURVRWRBRSR@RARBRCRDRERFRGRHRIRJRKRLRMRNROR7RWRRRRRRRRRnRRRRZRRRRRRRcRRRaR RR#R!R%RRRRR R RARRRRRRR>R]R^R_RXR/R2R9RZR(((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR s5  D o M s                 $                        !           5 -   shWhen you click either the Apply or Ok buttons, settings in this dialog that are different from IDLE's default are saved in a .idlerc directory in your home directory. Except as noted, these changes apply to all versions of IDLE installed on this machine. Some do not take affect until IDLE is restarted. [Cancel] only cancels changes made since the last save. s Highlighting: The IDLE Dark color theme is new in October 2015. It can only be used with older IDLE releases if it is saved as a custom theme, with a different name. RIcCs5|s tSyt|tSWntk r0tSXdS(s(Return 's is blank or represents an int'N(RRRR(R((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR.vs  RQcBseZdZdZRS(sA pure Tkinter vertically scrollable frame. * Use the 'interior' attribute to place widgets inside the scrollable frame * Construct and pack/place/grid normally * This frame only allows vertical scrolling c s0tj||||t|dt}|jdtdtdtt|ddddd|j d d jdt dt dt |j d jjdjdt|_jddd d tfd}jd|fd}jd|dS(NRvRORMRNRiRRpR*iRatwindowR{cs0jjf}jdd|dS(Nt scrollregions 0 0 %s %s(twinfo_reqwidthtwinfo_reqheightR(RR(tcanvasRR(s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyt_configure_interiorss cs8jjkr4jdjndS(NR*(R`t winfo_widtht itemconfigure(R(RbRRt interior_id(s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyt_configure_canvass(RdR-RtVERTICALRPRRR:tCanvasRRfRSRRRRt xview_movetot yview_movetoRRt create_windowRTR(RER.Rtkwt vscrollbarRcRg((RbRRRfs9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyR-s   (R\R]t__doc__R-(((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyRQst__main__s#idlelib.idle_test.test_configdialogt verbosityitexit(trun("RotTkinterRRRtidlelib.configHandlerRtidlelib.dynOptionMenuWidgetRtidlelib.keybindingDialogRtidlelib.configSectionNameDialogRtidlelib.configHelpSourceEditRtidlelib.tabbedpagesRtidlelib.textViewRtidlelibRR,R R!R"R.RdRQR\tunittestRTRtidlelib.idle_test.htestRs(((s9/opt/alt/python27/lib64/python2.7/idlelib/configDialog.pyt s6 $X  +