
VQc           @   s7   d  d l  Td e f d     YZ e   Z e j   d S(   i(   t   *t   Testc           B   s/   e  Z d    Z d   Z d   Z d d  Z RS(   c         C   s	   d GHd  S(   Nt   hi(    (   t   self(    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyt   printit   s    c         C   s/   t    } t | d d | _ | j j   d  S(   Nt   texts   Here's a new window(   t   Toplevelt   Labelt   labelt   pack(   R   t   fred(    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyt
   makeWindow	   s    	c         C   sr   t  |  d d d d d |  j |  _ |  j j d t d t  t  |  d d d |  j |  _ |  j j d t  d  S(	   NR   t   QUITt
   foregroundt   redt   commandt   sidet   fills   Make a New Window(   t   Buttont   quitR   R	   t   LEFTt   BOTHR   t   hi_there(   R   (    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyt   createWidgets   s    c         C   s+   t  j |  |  t j |   |  j   d  S(   N(   t   Framet   __init__t   Packt   configR   (   R   t   master(    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyR      s    N(   t   __name__t
   __module__R   R   R   t   NoneR   (    (    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyR      s   			N(   t   TkinterR   R   t   testt   mainloop(    (    (    s@   /usr/lib64/python2.7/Demo/tkinter/matt/window-creation-simple.pyt   <module>   s   
	