ó V Qc@súddlZddlZddlZddlTdZd„Zdd d„ƒYZedkröddlZddl Z yej ƒZ ee ƒWqöe j ƒ\ZZZdZxAe jeeeƒD]&Zeed Zejd eƒZqÅWqöXndS( iÿÿÿÿN(t*icCs$t|ƒ}|jƒ|jƒdS(N(t DemoDirListtmainlooptdestroy(troottdirlist((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyt RunSamples  RcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(c Csc||_d|_|jƒ}|jd|d„ƒtj|dtddƒ}tj|ƒ|_d|jj d#strelieftbdii(twidthttexts >> tpadyitlabelsInstallation Directory:t labelsidettoptoptionss… entry.width 40 label.anchor w stix option get fixed_fonttfontt textvariablecSs|j||ƒS(N(t copy_name(tdirtentR ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR KstcommandscSs |jƒS(N(tokcmd(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR Ostexpandtyestfilltbothtsidetpadxitanchortst orientationt horizontaltoktOkt underlineicSs |jƒS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR ZstcanceltCancelcSs |jƒS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR \stx(Rtexittwinfo_toplevelt wm_protocoltTixtFrametRAISEDtDirListRthlisttButtontbtnt LabelEntryRttktevaltentrytcopytostcurdirt dlist_dirtbindtpacktTOPtBOTHtLEFTtXt ButtonBoxtaddtBOTTOM(R twtzRRtbox((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyt__init__s6    +%1  cCs?|jdƒ|_|jjddƒ|jjd|jƒdS(Ntvalueitend(tcgetR<R8tdeletetinsert(R RR((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR`scCs|jƒdS(N(R(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRgscCs d|_dS(Ni(R+(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRkscCs-x&|jdkr(|jjjtƒqWdS(Ni(R+RR6t dooneeventtTCL_ALL_EVENTS(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRnscCs|jjƒdS(N(RR(R ((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRrs(t__name__t __module__RIRRRRR(((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRs  B    t__main__sError running the demo script: s sTix Demo Error((R.R:R9t TkconstantsRPRRRQt tkMessageBoxt tracebacktTkRtsystexc_infotttvttbRtformat_exceptiontlinet showerrortd(((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyts$  [