???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
¿œ^c           @   sW   d  d l  Z  d Z d „  Z d d d „  ƒ  YZ e d k rS e  j ƒ  Z e e ƒ n  d S(   iÿÿÿÿNi    c         C   s$   t  |  ƒ } | j ƒ  | j ƒ  d  S(   N(   t   DemoBalloont   mainloopt   destroy(   t   roott   balloon(    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt	   RunSample   s    
R    c           B   s,   e  Z d  „  Z d „  Z d „  Z d „  Z RS(   c      	   C   s@  | |  _  d |  _ | j ƒ  } | j d |  d „ ƒ t j | d d d t j d d ƒ} | j d	 t j d
 t j	 d d d d ƒ t j
 | d d d |  j ƒ} t j
 | d d ƒ} | d „ | d <| j d	 t j d d ƒ | j d	 t j d d ƒ t j | d | ƒ} | j | d d d d ƒ| j | d d d d ƒd  S(   Niÿÿÿÿt   WM_DELETE_WINDOWc         S   s
   |  j  ƒ  S(   N(   t   quitcmd(   t   self(    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt   <lambda>!   t    t   widthi(   t   relieft   bdi   t   sidet   fillt   padxi   t   padyt   texts   Something Unexpectedt   commands   Something Else Unexpectedc         S   s
   |  j  ƒ  S(   N(   R   (   t   w(    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR	   *   R
   t   expandt	   statusbart
   balloonmsgs   Close Windowt	   statusmsgs&   Press this button to close this windows   Self-destruct buttons,   Press this button and it will destroy itself(   R   t   exitt   winfo_toplevelt   wm_protocolt   Tixt   Labelt   SUNKENt   packt   BOTTOMt   Yt   ButtonR   t   TOPt   Balloont   bind_widget(   R   R   t   zt   statust   button1t   button2t   b(    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt   __init__   s"    		$(c         C   s   d |  _  d  S(   Ni    (   R   (   R   (    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR   7   s    c         C   sA   d } x4 |  j  d k  r< | d k r< |  j j j t ƒ } q	 Wd  S(   Ni   i    (   R   R   t   tkt
   dooneeventt   TCL_ALL_EVENTS(   R   t
   foundEvent(    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR   :   s    c         C   s   |  j  j ƒ  d  S(   N(   R   R   (   R   (    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR   ?   s    (   t   __name__t
   __module__R+   R   R   R   (    (    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyR       s   			t   __main__(    (   R   R.   R   R    R0   t   TkR   (    (    (    s0   /usr/lib64/python2.7/Demo/tix/samples/Balloon.pyt   <module>   s   	'