/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/TextViewer.pyo (7410B)
Ñò «gc@s9dZddkTddkZdZddd„ƒYZdS(s(TextViewer class. The TextViewer allows you to see how the selected color would affect various characteristics of a Tk text widget. This is an output viewer only. In the top part of the window is a standard text widget with some sample text in it. You are free to edit this text in any way you want (BAW: allow you to change font characteristics). If you want changes in other viewers to update text characteristics, turn on Track color changes. To select which characteristic tracks the change, select one of the radio buttons in the window below. Text foreground and background affect the text in the window above. The Selection is what you see when you click the middle button and drag it through some text. The Insertion is the insertion cursor in the text window (which only has a background). iÿÿÿÿ(t*NsText Window...t TextViewercBsneZd d„Zd d„Zd d„Zd d„Zd d„Zd d„Zd d„Z d„Z d„Z RS( cCsO||_|iƒ}t|ddƒ}|_|id|iƒ|idƒ|idƒ|id|i ƒ|id|i ƒ|id|iƒ|id|iƒt |d t d |i d d ƒd |i ddƒddddƒ|_ |i dƒ}|o|i id|ƒn|i dƒ}|o|i id|ƒn|i dƒ}|o|i id|ƒn|i iƒ|i id|i ddƒƒ|i dƒ}|o|i it|ƒny8|i ddtfƒ\} } |i it| | ƒWntj onX|i iƒtƒ|_|ii|i d d!ƒƒtƒ|_|ii|i d"d!ƒƒt|d#d$d%|id td&|iƒ|_ |i id't!d(t"ƒt#|ƒ} |_$| iƒg|_%d)} xVd6D]N} t&| d#| ƒ}|i'd-| d.d!d/t(ƒ|i%i)|ƒ| d07} qðWd0}xPd7D]H} t&| d#| ƒ}|i'd-d0d.|ƒ|i%i)|ƒ|d07}qOWg|_*xšd8D]’}x‰d9D]} | d4jo|d0joq¸nt+| d%|id5| d)d)|d0d&|i,ƒ}|i'd-| d.|ƒ|i*i)|ƒq¸Wq«W|iƒdS(:Ntclass_tPynchetWM_DELETE_WINDOWsPynche Text Windowsssstrelieft backgroundtTEXTBGtblackt foregroundtTEXTFGtwhitetwidthi#theightitTEXT_SFGtselectforegroundtTEXT_SBGtselectbackgroundtTEXT_IBGtinsertbackgroundgtTEXTsÄInsert some stuff here and play with the buttons below to see how the colors interact in textual displays. See how the selection can also be affected by tickling the buttons and choosing a color.tTEXTINStTEXTSELg@tTRACKPitWHICHttextsTrack color changestvariabletcommandtfilltexpandisText:s Selection:s Insertion:trowtcolumntstickyit Foregroundt Backgroundiitvalue(sText:s Selection:s Insertion:(R!R"(ii(iii(-t_TextViewer__sbtoptiondbtToplevelt_TextViewer__roottprotocoltwithdrawttitleticonnametbindt_TextViewer__quittTexttSUNKENtgett_TextViewer__textt configuretpacktinserttmark_settINSERTtENDttag_addtSELt ValueErrort focus_sett BooleanVart_TextViewer__trackptsettIntVart_TextViewer__whicht CheckbuttontGROOVEt_TextViewer__toggletrackt_TextViewer__ttXtYEStFramet_TextViewer__framet_TextViewer__labelstLabeltgridtEtappendt_TextViewer__radiost Radiobuttont_TextViewer__set_color(tselft switchboardtmasterR%troottsfgtsbgtibgR4tstarttendtframeRRtltcoltr((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyt__init__s”              cCs|iiƒdS(N(R'tquit(RQtevent((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyt__quitvscCs|iiƒdS(N(R'R)(RQR`((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyR)yscCs|iiƒdS(N(R't deiconify(RQR`((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyRb|scCs|iiƒdS(N(R$tupdate_views_current(RQR`((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyt __forceupdatescCsŽ|iiƒot}|idd}nt}|idd}x!|iD]}|id|ƒqLWx!|iD]}|id|ƒqpWdS(NiR tdisabledforegroundtstate(R=R0tNORMALRNtDISABLEDR2RI(RQR`RftfgR]R[((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyt __toggletrack‚s  cCs|iiƒ}|i}|djo|d}nm|djo|d}nR|djo|d}n7|djo|d}n|d jo|d }nyti|ƒ\}}}Wn7tij o(|iiƒi|ƒ\}}}nX|ii |||ƒdS( NiR iRiRiRiR( R@R0R1tColorDBtrrggbb_to_triplettBadColorR$tcolordbt find_bynamet update_views(RQR`twhichRtcolortredtgreentblue((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pyt __set_colorŽs"      &cCsí|iiƒoÙti|||fƒ}|iiƒ}|i}|djo|id|ƒqé|djo|id|ƒqé|djo|id|ƒqé|djo|id|ƒqé|d jo|id |ƒqéndS( NiR iRiRiRiR(R=R0Rkttriplet_to_rrggbbR@R1R2(RQRsRtRut colornameRqR((s7/usr/lib64/python2.6/site-packages/pynche/TextViewer.pytupdate_yourself¢s      cCsË|iiƒ|d<|iiƒ|d<|iiddƒ|d<|iitƒdd!|d<|iitƒ|d <|id |d <|id |d <|id|d<|id|d<|id|ds