ó ¿œ^c@sfddlZddlZd„Zd„Zd„ZedkrbejƒZeeƒejƒndS(iÿÿÿÿNc Cs+tj|dtjddƒ}tj|ddƒ}|jdddtjdd d d d tjƒd|d „|d ttopencmdt/t orientationtokttexttOkt underlineitcommandtwidthitcanceltCancel(tTixtFrametRAISEDtTreetpacktBOTHtLEFTtNonetadddirt ButtonBoxt HORIZONTALtaddtdestroytBOTTOMtXtTOP(R ttopttreetbox((s-/usr/lib64/python2.7/Demo/tix/samples/Tree.pyt RunSamples. ((c Csš|dkrd}ntjj|ƒ}|jj|dtjd|d|jjdddƒƒy!tj |ƒ|j |dƒWntj k r•nXdS( NRtitemtypeRtimagettixtgetimagetfoldertopen( tostpathtbasenamethlistR#Rt IMAGETEXTttktcalltlistdirtsetmodeterror(R)R R((s-/usr/lib64/python2.7/Demo/tix/samples/Tree.pyR #s   c CsÑ|jj|ƒ}|r<x!|D]}|jj|ƒqWntj|ƒ}x|D]w}tjj|d|ƒrŠt||d|ƒqR|jj|d|dt j d|d|j j dddƒƒqRWdS(NRR,RR-R.R/tfile( R5t info_childrent show_entryR2R9R3tisdirR R#RR6R7R8(R)R tentriestentrytfilesR<((s-/usr/lib64/python2.7/Demo/tix/samples/Tree.pyR9s  &t__main__( RR2R+R Rt__name__tTktroottmainloop(((s-/usr/lib64/python2.7/Demo/tix/samples/Tree.pyts