ó V Qc@syddlZddlZddlZddlTdZd„Zddd„ƒYZedkruejƒZ ee ƒndS( iÿÿÿÿN(t*icCs$t|ƒ}|jƒ|jƒdS(N(t DemoDirTreetmainlooptdestroy(troottdirtree((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyt RunSamples  RcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(c Cs>||_d|_|jƒ}|jd|d„ƒtj|dtddƒ}tj|ƒ|_d|jj d#strelieftbdii(twidthttexts >> tpadyitlabelsInstallation Directory:t labelsidettoptoptionss… entry.width 40 label.anchor w t textvariablecSs|j||ƒS(N(t copy_name(tdirtentR ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR FstcommandscSs |jƒS(N(tokcmd(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR Istexpandtyestfilltbothtsidetpadxitanchortst orientationt horizontaltoktOkt underlineicSs |jƒS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR TstcanceltCancelcSs |jƒS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR Vstx(Rtexittwinfo_toplevelt wm_protocoltTixtFrametRAISEDtDirTreeRthlisttButtontbtnt LabelEntryRtcopytostcurdirt dlist_dirtentrytbindtpacktTOPtBOTHtLEFTtXt ButtonBoxtaddtBOTTOM(R twtzRtbox((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyt__init__s2    +%1  cCs?|jdƒ|_|jjddƒ|jjd|jƒdS(Ntvalueitend(tcgetR8R9tdeletetinsert(R RR((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRZscCs|jƒdS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRascCs d|_dS(Ni(R*(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRescCs-x&|jdkr(|jjjtƒqWdS(Ni(R*Rttkt dooneeventtTCL_ALL_EVENTS(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRiscCs|jjƒdS(N(RR(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRms(t__name__t __module__RFRRRRR(((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRs  <    t__main__(( R-R6R5t TkconstantsRNRRROtTkR(((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyts$  V