/usr/lib64/python2.7/site-packages/pynche
NameSizeModeActions
X/-0755rm
ChipViewer.py49980644editdlrm
ChipViewer.pyc54990644editdlrm
ChipViewer.pyo54990644editdlrm
ColorDB.py89410644editdlrm
ColorDB.pyc96920644editdlrm
ColorDB.pyo96920644editdlrm
DetailsViewer.py101160644editdlrm
DetailsViewer.pyc105710644editdlrm
DetailsViewer.pyo105710644editdlrm
html40colors.txt2450644editdlrm
ListViewer.py66480644editdlrm
ListViewer.pyc71940644editdlrm
ListViewer.pyo71940644editdlrm
Main.py64000644editdlrm
Main.pyc62840644editdlrm
Main.pyo62840644editdlrm
namedcolors.txt57160644editdlrm
pyColorChooser.py37680644editdlrm
pyColorChooser.pyc44240644editdlrm
pyColorChooser.pyo44240644editdlrm
pynche1820755editdlrm
PyncheWidget.py105010644editdlrm
PyncheWidget.pyc111000644editdlrm
PyncheWidget.pyo111000644editdlrm
README157840644editdlrm
StripViewer.py154650644editdlrm
StripViewer.pyc138630644editdlrm
StripViewer.pyo137170644editdlrm
Switchboard.py48170644editdlrm
Switchboard.pyc60650644editdlrm
Switchboard.pyo60650644editdlrm
TextViewer.py68690644editdlrm
TextViewer.pyc73590644editdlrm
TextViewer.pyo73590644editdlrm
TypeinViewer.py61020644editdlrm
TypeinViewer.pyc64110644editdlrm
TypeinViewer.pyo64110644editdlrm
webcolors.txt30880644editdlrm
websafe.txt17490644editdlrm
__init__.py470644editdlrm
__init__.pyc1400644editdlrm
__init__.pyo1400644editdlrm
Edit: /usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyc (11100B)
 ^c@sdZddlZddlZddlTddlZddlZddlZdZdd 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(c Cs||_||_d|_d|_d|_d|_i|_| }|_|rt |dd|_ }|j |j ndd}y!ddl m}|}|_ Wntk rnX|stdd}|_ n|j t|}|_t|dd} |_| jdd d |jd d|sa| jdd d |jd dd dnt|j|j |} t|dd} x9| D]1} | jd| jd | jd | jqWt|dddd} | jddd |jd d| jddd |jd d|jddd| d d|jddd| d d|jddd| d dt |ddd|}|_|jd|r|j p|j|j!d||j"d|s|j#d|j|j#d|jnt$|dddt%}|j&ddd dd!d"d#d$d%d&t'|d'd(d |j(}|j)d)t*d*dt'|d'd+d |j+}|j)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.7/site-packages/pynche/PyncheWidget.pyt__init__s                        cCs|jjdS(N(R*tquit(RJtevent((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt__quit{scCs|jjdS(N(R*tbell(RJR]((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt__bell~scCs(|jj|jj|jdS(N(R twithdraw_viewsR*t grab_releaseR5(RJR]((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt__okays  cCs|jj|jdS(N(R tcanceledRF(RJR]((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt__cancels cCs|jjjt|jdS(N(R*ttktcreatetimerhandlertKEEPALIVE_TIMERt_PyncheWidget__keepalive(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt __keepalivescCs'|js|jn|jjdS(N(R(RiR*tmainloop(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pytstarts  cCs|jS(N(R<(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pytwindowscCs,ddlm}tjd|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.7/site-packages/pynche/PyncheWidget.pyt __popup_abouts cCs5|js$t|j|j|_n|jjdS(N(R&tHelpwinR<R5t deiconify(RJR]((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt __popup_usages cCsxtjj|jjj\}}tjdd d gd|d|}|sXdSytj |}Wn(t k rt j dd |qnX|dkrt j d d |qnPqW|jj|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.7/site-packages/pynche/PyncheWidget.pyt__loads*'         cCs|jjdS(N(R<R,(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyR,scCs|jjdS(N(R<Rt(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyRtsN(t__name__t __module__R"R[R5R>RFRIRiRlRmR9R:R4R,Rt(((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyRsg          RscBs&eZdZddZdZRS(c Csddlm}t|dd|_}|jd|j|jd|jd|jd||jd||jd |j|jd |jt j j t j d d }ykd}zJt|}|j}|jd }|d kr || j}nWd|r!|jnXWn*tk rOt jjd|}nXt|dtdddd|_} |jj| jd|t|} | jdtdt| jdtdt | j!d| df| j!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.7/site-packages/pynche/PyncheWidget.pyR[s@         cCs|jjdS(N(RR,(RJR]((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt __withdrawscCs|jjdS(N(RRt(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyRtsN(RRR[R"RRt(((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyRss ( t PopupViewercBs8eZdZdZdZddZdZRS(cCs||_||_||_||_|j|_|jjd}|dkrWd}n|jjddd|_||_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.7/site-packages/pynche/PyncheWidget.pyR[s        cCs|jS(N(R(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyR7 scCs|jS(N(R(RJ((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyR scCs]|jsLt|j|j}||j|j|_|jj|jn|jjdS(N(RtgetattrRRRRtadd_viewRt(RJR]R((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyR8s  cCst|j|jS(N(tcmpR(RJtother((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyt__cmp__sN(RRR[R7R R"R8R(((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyRs     c Cs g}tjjtg|}x|D]}|dkrAd}nxtj|D]}|ddkrQ|d }yt|}Wn0tk rtd|} t| |}nXt|dr|j rt ||||} |j | qqQqQWq&W|j |S(NRt.is Viewer.pyispynche.R( RyRztdirnamet__file__tlistdirt __import__R.RthasattrRRtappendtsort( RLRWRNtviewerstdirstdirRR RtpkgRU((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyR6s$      (((( t__doc__RRyR-RpR~RRhRRsRR6(((s9/usr/lib64/python2.7/site-packages/pynche/PyncheWidget.pyts      1"