V Qc@sWddlZdZdZdddYZedkrSejZeendS(iNicCs$t|}|j|jdS(N(t DemoSHListtmainlooptdestroy(troottshlist((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyt RunSamples  RcBs5eZdZdZdZdZdZRS(c Cs%||_d|_|j}|jd|dtj|dtjdd}tj|dd|_|jj d dd tj d d d d dtj |jj }|j jdddd}i}tjtjd|dtjd dd dd||d<|jddtjddd|d|jddtjddd|d|jdddN}dOdPdQg}dRdSdTdUdVdWdXg} tjtjd||d:d?d@dAdBddCd |jddDdE|jd?dtjd|dd|d:|jd?ddtjd|dd|d;xp|D]h\} } } d?| } |j| dtjd| d|d:|j| ddtjd| d|d;qWxr| D]j\} }} } d?|d?| }|j|d| d|d<|j|ddtjd| d|d=q Wtj|dFtj}|jdGddHdIdd@dJdK|j|jdLddMdIdd@dJdK|j|j dtjd tj|j dtj d tj d ddS(YNitWM_DELETE_WINDOWcSs |jS(N(tquitcmd(tself((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyt"strelieftbditoptionsshlist.columns 3 hlist.header 1texpandtfilltpadxi tpadytsidettixtoptiontgett bold_fontt refwindowtanchoriitfonttheaderititemtypettexttNametstyletPositiontdoesJohn DoetDirectortjeffs Jeff WaxmantManagertjohnsJohn Leetpeters Peter Kensontalexs Alex KellmantClerktalans Alan AdamstandysAndreas CrawfordtSalesmantdougs Douglas Bloomtjons Jon BarakitchrissChris Geoffreytchucks Chuck McLeantCleanertmgr_nametmgr_posnt empl_namet empl_posnt separatort.twidthit drawbranchtindenttcharsit orientationtoktOkt underlineitcommandtcanceltCancel(RsJohn DoeR (R!s Jeff WaxmanR"(R#sJohn LeeR"(R$s Peter KensonR"(R%R#s Alex KellmanR&(R'R#s Alan AdamsR&(R(R$sAndreas CrawfordR)(R*R!s Douglas BloomR&(R+R$s Jon BarakiR)(R,R!sChris GeoffreyR&(R-R!s Chuck McLeanR.(Rtexittwinfo_toplevelt wm_protocoltTixtFrametRAISEDt ScrolledHListtatpacktBOTHtTOPthlistttktcallt DisplayStyletTEXTtCENTERt header_createt column_widthtconfigtaddt item_createt ButtonBoxt HORIZONTALtokcmdRtBOTTOMtX(RtwtzttopRKtboldfontRtbosstmanagerst employeestkeytnametposntetmgrt entrypathtbox((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyt__init__sp   1 "    """ "     cCs|jdS(N(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyRXscCs d|_dS(Ni(R@(R((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyRscCs-x&|jdkr(|jjjtqWdS(Ni(R@RRLt dooneeventtTCL_ALL_EVENTS(R((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyRscCs|jjdS(N(RR(R((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyRs(t__name__t __module__RiRXRRR(((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyRs  x   t__main__((RCRkRRRltTkR(((s0/usr/lib64/python2.7/Demo/tix/samples/SHList2.pyts