ok

Mini Shell

Direktori : /usr/lib64/python2.7/Demo/tix/samples/
Upload File :
Current File : //usr/lib64/python2.7/Demo/tix/samples/Balloon.pyc

�
V
�Qc@sWddlZdZd�Zddd��YZedkrSej�Zee�ndS(i����NicCs$t|�}|j�|j�dS(N(tDemoBalloontmainlooptdestroy(troottballoon((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt	RunSamples
RcBs,eZd�Zd�Zd�Zd�ZRS(c	Cs@||_d|_|j�}|jd|d��tj|dddtjdd�}|jd	tjd
tj	ddd
d�tj
|ddd|j�}tj
|dd�}|d�|d<|jd	tjdd�|jd	tjdd�tj
|d|�}|j|dddd�|j|dddd�dS(Ni����tWM_DELETE_WINDOWcSs
|j�S(N(tquitcmd(tself((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt<lambda>!stwidthi(trelieftbditsidetfilltpadxitpadyttextsSomething UnexpectedtcommandsSomething Else UnexpectedcSs
|j�S(N(R(tw((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR	*stexpandt	statusbart
balloonmsgsClose Windowt	statusmsgs&Press this button to close this windowsSelf-destruct buttons,Press this button and it will destroy itself(Rtexittwinfo_topleveltwm_protocoltTixtLabeltSUNKENtpacktBOTTOMtYtButtonRtTOPtBalloontbind_widget(RRtztstatustbutton1tbutton2tb((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt__init__s"		$(cCs
d|_dS(Ni(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR7scCsAd}x4|jdkr<|dkr<|jjjt�}q	WdS(Nii(RRttkt
dooneeventtTCL_ALL_EVENTS(Rt
foundEvent((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR:scCs|jj�dS(N(RR(R((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR?s(t__name__t
__module__R*RRR(((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyRs			t__main__((RR-RRR/tTkR(((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt<module>s	'

Zerion Mini Shell 1.0