V Qc@syddlZddlZddlZddlTdZdZdddYZedkruejZ ee ndS( iN(t*icCs$t|}|j|jdS(N(t DemoDirTreetmainlooptdestroy(troottdirtree((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyt RunSamples  RcBs>eZdZdZdZdZdZdZRS(c Cs>||_d|_|j}|jd|dtj|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 |jS(N(tokcmd(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR Istexpandtyestfilltbothtsidetpadxitanchortst orientationt horizontaltoktOkt underlineicSs |jS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyR TstcanceltCancelcSs |jS(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|jdS(Ntvalueitend(tcgetR8R9tdeletetinsert(R RR((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRZscCs|jdS(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(|jjjtqWdS(Ni(R*Rttkt dooneeventtTCL_ALL_EVENTS(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirTree.pyRiscCs|jjdS(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