V Qc@sWddlZddlZddlTdZdZdZedkrSendS(iN(t*cCs?t|dd}|jdddtt||dd|S(Ntnametlisttexpanditfillt.i(tListboxtpacktBOTHt listnodes(tmastertappR((s3/usr/lib64/python2.7/Demo/tkinter/guido/listtree.pytlisttreescCs|j|dd|}|jtd||f|jj|j|dd|}x%|D]}t||||dq]WdS(Ntwinfotclasss%s (%s)tchildreni(tsendtinserttENDttkt splitlistR (RR twidgettleveltklassRtc((s3/usr/lib64/python2.7/Demo/tkinter/guido/listtree.pyR s   cCstjds-tjjdtjdntjd}t}|jddt|dd}|jdddt t ||}|j dS(NisUsage: listtree appname iRtfRR( tsystargvtstderrtwritetexittTktminsizetFrameRRR tmainloop(R RRR((s3/usr/lib64/python2.7/Demo/tkinter/guido/listtree.pytmains   t__main__(RtstringtTkinterR R R#t__name__(((s3/usr/lib64/python2.7/Demo/tkinter/guido/listtree.pyts