AlkantarClanX12
Current Path : /lib64/python2.7/Demo/tix/samples/ |
Current File : //lib64/python2.7/Demo/tix/samples/Tree.pyc |
� ��^c @ sf d d l Z d d l Z d � Z d � Z d � Z e d k rb e j � Z e e � e j � n d S( i����Nc C s+ t j | d t j d d �} t j | d d �} | j d d d t j d d d d d t j � d | d � | d <t | d � t j | d t j �} | j d d d d d d | j d d �| j d d d d d d | j d d �| j d t j d t j � | j d t j d t j d d � d S( Nt relieft bdi t optionss separator "/"t expandt fillt padxi t padyt sidec S s t | | � S( N( t opendir( t dirt w( ( s- /usr/lib64/python2.7/Demo/tix/samples/Tree.pyt <lambda> t t opencmdt /t orientationt okt textt Okt underlinei t commandt widthi t cancelt Cancel( t Tixt Framet RAISEDt Treet packt BOTHt LEFTt Nonet adddirt ButtonBoxt HORIZONTALt addt destroyt BOTTOMt Xt TOP( R t topt treet box( ( s- /usr/lib64/python2.7/Demo/tix/samples/Tree.pyt RunSample s . ((c C s� | d k r d } n t j j | � } | j j | d t j d | d | j j d d d � �y! t j | � | j | d � Wn t j k r� n Xd S( NR t itemtypeR t imaget tixt getimaget foldert open( t ost patht basenamet hlistR# R t IMAGETEXTt tkt callt listdirt setmodet error( R) R R ( ( s- /usr/lib64/python2.7/Demo/tix/samples/Tree.pyR # s c C s� | j j | � } | r<