ó ¿œ^c@sWddlZdZd„Zddd„ƒYZedkrSejƒZeeƒndS(iÿÿÿÿNicCs$t|ƒ}|jƒ|jƒdS(N(t DemoBalloontmainlooptdestroy(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 d d 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!ttwidthi(trelieftbditsidetfilltpadxitpadyttextsSomething UnexpectedtcommandsSomething Else UnexpectedcSs |jƒS(N(R(tw((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR *R texpandt statusbart balloonmsgs Close Windowt statusmsgs&Press this button to close this windowsSelf-destruct buttons,Press this button and it will destroy itself(Rtexittwinfo_toplevelt wm_protocoltTixtLabeltSUNKENtpacktBOTTOMtYtButtonRtTOPtBalloont bind_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.RRR0tTkR(((s0/usr/lib64/python2.7/Demo/tix/samples/Balloon.pyts  '