???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
¿œ^c           @   s   d  d l  Td „  Z d „  Z d „  Z d a d „  Z d „  Z d „  Z d	 „  Z d
 „  Z	 d „  Z
 e ƒ  Z e e d e d d ƒZ e j d e ƒ e ƒ  Z e ƒ  Z e ƒ  Z e	 ƒ  Z e
 ƒ  Z e j e e e e e ƒ e j d ƒ e j d ƒ e j ƒ  d S(   iÿÿÿÿ(   t   *c           C   s	   d GHd  S(   Ns   opening new file(    (    (    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   new_file%   s    c           C   s	   d GHd  S(   Ns   opening OLD file(    (    (    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt	   open_file(   s    c           C   s	   d GHd  S(   Ns   picked a menu item(    (    (    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   print_something+   s    i    c           C   s   t  a  d Gt  GHd  S(   Ns
   anchovies?(   t	   anchovies(    (    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   print_anchovies2   s    c          C   s+  t  t d d d d ƒ}  |  j d t d d ƒ t |  ƒ |  _ |  j j d d	 ƒ |  j j d d
 t ƒ|  j j d d d d d t	 ƒ |  j j d d d d d t
 ƒ |  j j d d d d d d d t ƒ |  j j d d ƒ |  j j d ƒ |  j j d d d d d d d d d |  j ƒ |  j |  d <|  S(   Nt   texts   Simple Button Commandst	   underlinei    t   sidet   padxt   2mt   labelt   Undot   states   New...t   commands   Open...s   Different Fontt   fonts&   -*-helvetica-*-r-*-*-*-180-*-*-*-*-*-*t   bitmapt   infot	   separatort   Quitt
   backgroundt   redt   activebackgroundt   greent   menu(   t
   Menubuttont   mBart   packt   LEFTt   MenuR   t   add_commandt   entryconfigt   DISABLEDR   R   R   t   addt   quit(   t   Command_button(    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   makeCommandMenu7   s,    	
c          C   s‘  t  t d d d d ƒ}  |  j d t d d ƒ t |  ƒ |  _ t |  j ƒ |  j _ t |  j j ƒ |  j j _ |  j j j j d d	 ƒ |  j j j j d d
 ƒ |  j j j j d d ƒ |  j j j d d ƒ |  j j j d d ƒ |  j j j d d ƒ |  j j j d d ƒ |  j j j d d ƒ |  j j j d d ƒ |  j j j	 d d d |  j j j ƒ |  j j	 d d d |  j j ƒ |  j |  d <|  S(   NR   s   Cascading MenusR   i    R   R	   R
   R   t   avacados   belgian endivet	   beefaronit	   Chocolatet   Vanillat   TuttiFruitit   WopBopaLoopBapABopBamBooms
   Rocky Roadt	   BubbleGums   Weird FlavorsR   s   more choices(
   R   R   R   R   R   R   t   choicest	   weirdonesR   t   add_cascade(   t   Cascade_button(    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   makeCascadeMenue   s*    c          C   s¼   t  t d d d d ƒ}  |  j d t d d ƒ t |  ƒ |  _ |  j j d d	 ƒ |  j j d d
 ƒ |  j j d d ƒ |  j j d d d t ƒ |  j j |  j j	 d ƒ ƒ |  j |  d <|  S(   NR   s   Checkbutton MenusR   i    R   R	   R
   R   t	   Pepperonit   Sausages   Extra Cheeset   AnchovyR   R   (
   R   R   R   R   R   R   t   add_checkbuttonR   t   invoket   index(   t   Checkbutton_button(    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   makeCheckbuttonMenu‹   s    	c          C   s  t  t d d d d ƒ}  |  j d t d d ƒ t |  ƒ |  _ |  j j d d	 ƒ |  j j d d
 ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j j d d ƒ |  j |  d <|  S(   NR   s   Radiobutton MenusR   i    R   R	   R
   R   t
   Republicant   Democratt   Libertariant   Commiet   Facists   Labor Partyt   Toriet   Independentt	   Anarchists
   No OpinionR   (   R   R   R   R   R   R   t   add_radiobutton(   t   Radiobutton_button(    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   makeRadiobuttonMenu·   s     	c          C   s<   t  t d d d d ƒ}  |  j d t d d ƒ t |  d <|  S(	   NR   s	   Dead MenuR   i    R   R	   R
   R   (   R   R   R   R   R    (   t   Dummy_button(    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   makeDisabledMenuÔ   s    
t   relieft   borderwidthi   t   fills	   menu demoN(   t   TkinterR   R   R   R   R   R$   R0   R8   RC   RE   t   Tkt   roott   Framet   RAISEDR   R   t   XR#   R/   R7   RB   t   NoMenut
   tk_menuBart   titlet   iconnamet   mainloop(    (    (    sC   /usr/lib64/python2.7/Demo/tkinter/matt/menu-all-types-of-entries.pyt   <module>   s,   
$					.	&	,								