ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/proc/self/root/lib64/python2.7/Demo/tix/samples/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/proc/self/root/lib64/python2.7/Demo/tix/samples/DirList.pyo

�
��^c@s�ddlZddlZddlZddlTdZd�Zddd��YZedkr�ddlZddl	Z	yej
�Zee�Wq�ej
�\ZZZdZxAe	jeee�D]&Zeed	Zejd
e�Zq�Wq�XndS(i����N(t*icCs$t|�}|j�|j�dS(N(tDemoDirListtmainlooptdestroy(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<tj
|d	d
dd�|_tj|d
ddddd�|_
|jjjd�}||j
jd<tjtj�|_|j|j
jd<|j|j
|d�|jd<|j
jjd|d��|jdddddt�|jjdddtdd dd dt�|jjd!d"dd dd dt�|j
jdddtd!d"dd dd dt�tj|d#d$�}|jd%d	d&d'ddd(d|d)��|jd*d	d+d'ddd(d|d,��|jd!d"dd-dt�dS(.Ni����tWM_DELETE_WINDOWcSs
|j�S(N(tquitcmd(tself((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyt<lambda>#ttrelieftbdii(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
Kstcommands<Return>cSs
|j�S(N(tokcmd(R	((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR
ORtexpandtyestfilltbothtsidetpadxitanchortstorientationt
horizontaltoktOkt	underlineicSs
|j�S(N(R(R	((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR
ZRtcanceltCancelcSs
|j�S(N(R(R	((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyR
\Rtx(Rtexittwinfo_topleveltwm_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=R9tdeletetinsert(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,RR7t
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__RJRRRRR(((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyRs	B				t__main__sError running the demo script:
s
sTix Demo Error((R/R;R:tTkconstantsRQRRRRttkMessageBoxt	tracebacktTkRtsystexc_infotttvttbRtformat_exceptiontlinet	showerrortd(((s0/usr/lib64/python2.7/Demo/tix/samples/DirList.pyt<module>s$
	[

Zerion Mini Shell 1.0