/usr/lib64/python2.6/site-packages/pynche
NameSizeModeActions
X/-0755rm
ChipViewer.py49980644editdlrm
ChipViewer.pyc55050644editdlrm
ChipViewer.pyo55050644editdlrm
ColorDB.py89410644editdlrm
ColorDB.pyc97510644editdlrm
ColorDB.pyo97510644editdlrm
DetailsViewer.py101150644editdlrm
DetailsViewer.pyc106410644editdlrm
DetailsViewer.pyo106410644editdlrm
html40colors.txt2450644editdlrm
ListViewer.py66480644editdlrm
ListViewer.pyc72220644editdlrm
ListViewer.pyo72220644editdlrm
Main.py64000644editdlrm
Main.pyc63410644editdlrm
Main.pyo63410644editdlrm
namedcolors.txt57160644editdlrm
pyColorChooser.py37680644editdlrm
pyColorChooser.pyc44530644editdlrm
pyColorChooser.pyo44530644editdlrm
pynche1790755editdlrm
PyncheWidget.py105010644editdlrm
PyncheWidget.pyc111460644editdlrm
PyncheWidget.pyo111460644editdlrm
README157840644editdlrm
StripViewer.py154650644editdlrm
StripViewer.pyc139040644editdlrm
StripViewer.pyo137480644editdlrm
Switchboard.py48170644editdlrm
Switchboard.pyc60910644editdlrm
Switchboard.pyo60910644editdlrm
TextViewer.py68690644editdlrm
TextViewer.pyc74100644editdlrm
TextViewer.pyo74100644editdlrm
TypeinViewer.py61020644editdlrm
TypeinViewer.pyc64700644editdlrm
TypeinViewer.pyo64700644editdlrm
webcolors.txt30880644editdlrm
websafe.txt17490644editdlrm
__init__.py470644editdlrm
__init__.pyc1400644editdlrm
__init__.pyo1400644editdlrm
Edit: /usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyc (11146B)
gc @sdZddkZddkZddkTddkZddkZddkZdZdd dYZdd dYZ d dd YZ d Z dS(sMain Pynche (Pythonically Natural Color and Hue Editor) widget. This window provides the basic decorations, primarily including the menubar. It is used to bring up other windows. iN(t*it PyncheWidgetcBseZd gdZd dZd dZd dZd dZdZdZ dZ d dZ d d Z d d Z d Zd ZRS(cCs||_||_d|_d|_d|_d|_h|_| }|_|o1t |dd|_ }|i |i nid}y!ddk l}|}|_ Wntj onX|ptdd}|_ n|i t|}|_t|dd} |_| idd d |id d|p)| idd d |id dd dnt|i|i |} t|dd} x9| D]1} | id| id | id | iqWt|dddd} | iddd |id d| iddd |id d|iddd| d d|iddd| d d|iddd| d dt |ddd|}|_|id|o |i p|i|i!d||i"d|p*|i#d|i|i#d|int$|dddt%}|i&ddd dd!d"d#d$d%d&t'|d'd(d |i(}|i)d)t*d*dt'|d'd+d |i+}|i)d)t*d*ddS(,Ntclass_tPynchei(t _default_roott classNamettearoffitlabelsLoad palette...tcommandt underlinetQuitt acceleratorsAlt-QtnamethelpsAbout Pynche...sHelp...tFiletmenutViewtHelptWM_DELETE_WINDOWs Pynche %ssst borderwidthitrelieftrowitcolumnt columnspanitstickytEWtipadyittexttOkaytsidetexpandtCancel(,t_PyncheWidget__sbt_PyncheWidget__versiontNonet_PyncheWidget__textwint_PyncheWidget__listwint_PyncheWidget__detailswint_PyncheWidget__helpwint_PyncheWidget__dialogstatet_PyncheWidget__modaltToplevelt_PyncheWidget__tkroottgrab_settwithdrawtTkinterRt ImportErrortTktMenut_PyncheWidget__menubart_PyncheWidget__filemenut add_commandt_PyncheWidget__loadt_PyncheWidget__quittmake_view_popupstmenutexttpopupR t_PyncheWidget__popup_aboutt_PyncheWidget__popup_usaget add_cascadet_PyncheWidget__roottprotocolt_PyncheWidget__bellttitleticonnametbindtFrametRAISEDtgridtButtont_PyncheWidget__okaytpacktLEFTt_PyncheWidget__cancel(tselftversiont switchboardtmastert extrapathtmodalttkrootRtmenubartfilemenutviewstviewmenutvthelpmenutroottbframetokaytcancel((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__init__s                     cCs|iidS(N(R*tquit(RJtevent((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__quit{scCs|iidS(N(R*tbell(RJR]((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__bell~scCs(|ii|ii|idS(N(R twithdraw_viewsR*t grab_releaseR5(RJR]((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__okays  cCs|ii|idS(N(R tcanceledRF(RJR]((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__cancels cCs|iiit|idS(N(R*ttktcreatetimerhandlertKEEPALIVE_TIMERt_PyncheWidget__keepalive(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt __keepalivescCs)|ip|in|iidS(N(R(RiR*tmainloop(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pytstarts cCs|iS(N(R<(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pytwindowscCs,ddkl}tid|d|dS(Ni(t __version__s About Pynche s}Pynche %s The PYthonically Natural Color and Hue Editor For information contact: Barry A. Warsaw email: bwarsaw@python.org(tMainRnt tkMessageBoxtshowinfo(RJR]Rn((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt __popup_abouts cCs7|ipt|i|i|_n|iidS(N(R&tHelpwinR<R5t deiconify(RJR]((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt __popup_usages cCsxtii|iii\}}tidd d gd|d|}|pdSyti |}Wn*t j ot i dd |qnX|djot i d d |qnPq|ii|dS(Nt filetypess Text filess*.txts All filesRt initialdirt initialfiles Read errors#Could not open file for reading: %ssUnrecognized color file types(Unrecognized color file type in file: %s(s Text filess*.txt(s All filesR(tostpathtsplitR tcolordbtfilenamet tkFileDialogtaskopenfilenametColorDBt get_colordbtIOErrorRpt showerrorR"t set_colordb(RJR]tidirtifiletfileR|((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__loads*'        cCs|iidS(N(R<R,(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR,scCs|iidS(N(R<Rt(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyRtsN(t__name__t __module__R"R[R5R>RFRIRiRlRmR9R:R4R,Rt(((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyRsg          RscBs&eZdZddZdZRS(c Csddkl}t|dd|_}|id|i|id|id|id||id||id |i|id |it i i t i d d }yod}zLt|}|i}|id }|d jo|| i}nWd|o|inXWn,tj o t iid|}nXt|dtdddd|_} |ii| id|t|} | idtdt| idtdt | i!d| df| i!d| dfdS(Ni(t docstringRRRsPynche Help WindowssssitREADMEs s8Couldn't open Pynche's README, using docstring instead. RtwidthiPtheightigtfillRRtyscrollcommandtsetRtyview("RoRR)t_Helpwin__rootR=t_Helpwin__withdrawR?R@RARyRztjointsysR"topentreadtrfindtrstriptcloseRtstderrtwritetTexttSUNKENt_Helpwin__textt focus_settinsertt ScrollbarRGtYtRIGHTtBOTHtYESt configure( RJRMtquitfuncRRWt readmefiletfptcontentstiRt scrollbar((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR[s@       cCs|iidS(N(RR,(RJR]((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt __withdrawscCs|iidS(N(RRt(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyRtsN(RRR[R"RRt(((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyRss ( t PopupViewercBs8eZdZdZdZddZdZRS(cCs||_||_||_||_|i|_|iid}|djo d}n|iiddd|_||_d|_ dS(Nt%iiti( t_PopupViewer__mt_PopupViewer__namet_PopupViewer__sbt_PopupViewer__roott ADDTOVIEWt_PopupViewer__menutexttfindtreplacet_PopupViewer__underlineR"t_PopupViewer__window(RJtmoduleR RLRWR ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR[s        cCs|iS(N(R(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR7 scCs|iS(N(R(RJ((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR scCs_|ipDt|i|i}||i|i|_|ii|in|iidS(N(RtgetattrRRRRtadd_viewRt(RJR]R((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR8s  cCst|i|iS(N(tcmpR(RJtother((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyt__cmp__sN(RRR[R7R R"R8R(((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyRs     c Csg}tiitg|}x|D]}|djo d}nxti|D]}|ddjo|d }yt|}Wn2tj o&td|} t| |}nXt|do0|i o&t ||||} |i | qqSqSWq&W|i |S(NRt.is Viewer.pyispynche.R( RyRztdirnamet__file__tlistdirt __import__R.RthasattrRRtappendtsort( RLRWRNtviewerstdirstdirRR RtpkgRU((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyR6s(    (((( t__doc__RRyR-RpR~RRhRRsRR6(((s9/usr/lib64/python2.6/site-packages/pynche/PyncheWidget.pyts      1"