
VQc           @   sS   d  d l  Td  d l Z d e f d     YZ e   Z e j j d  e j   d S(   i(   t   *Nt   Appc           B   s&   e  Z d d   Z d   Z d   Z RS(   c         C   s   t  j |  |  |  j   t |   |  _ |  j j   t |  d d d |  j |  _ |  j j   t   |  _	 |  j	 j
 d  |  j j d |  j	  |  j j d |  j  d  S(   Nt   texts   Uppercase The Entryt   commands   this is a variablet   textvariables   <Key-Return>(   t   Framet   __init__t   packt   Entryt   entrythingyt   Buttont   uppert   buttont	   StringVart   contentst   sett   configt   bindt   print_contents(   t   selft   master(    (    sD   /usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR      s    
c         C   s,   t  j |  j j    } |  j j |  d  S(   N(   t   stringR   R   t   getR   (   R   t   str(    (    sD   /usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR       s    c         C   s   d G|  j  j   GHd  S(   Ns"   hi. contents of entry is now ---->(   R   R   (   R   t   event(    (    sD   /usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR   )   s    N(   t   __name__t
   __module__t   NoneR   R   R   (    (    (    sD   /usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR      s   		t   Foo(   t   TkinterR   R   R   t   rootR   t   titlet   mainloop(    (    (    sD   /usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyt   <module>   s
   
&	