mς
­fIc           @   s   d  k  Td f  d     YZ d S(   (   t   *t   Dialogc           B   s5   t  Z d  Z d  d  Z d   Z d   Z d   Z RS(   Nc         K   sY   t  d j  o t d  n | |  _ | |  _ | o! | i d  o | d |  _ n d  S(   Nf4.2000000000000002s$   this module requires Tk 4.2 or newert   parent(   t	   TkVersiont   TclErrort   mastert   selft   optionst   get(   R   R   R   (    (    t2   /mit/python/lib/python2.4/lib-tk/tkCommonDialog.pyt   __init__   s    		c         C   s   d  S(   N(    (   R   (    (    R	   t   _fixoptions    s    c         C   s   | S(   N(   t   result(   R   t   widgetR   (    (    R	   t
   _fixresult#   s    c         K   s   x' | i   D] \ } } | |  i  | <q W|  i   t |  i  } z: | i	 i
 |  i | i |  i    } |  i | |  } Wd  y | i   Wn n XX| S(   N(   R   t   itemst   kt   vR   R   t   FrameR   t   wt   tkt   callt   commandt   _optionst   sR   t   destroy(   R   R   R   R   R   R   (    (    R	   t   show&   s     
$ (   t   __name__t
   __module__t   NoneR   R
   R   R   R   (    (    (    R	   R      s
   		N(   t   TkinterR   (   R   (    (    R	   t   ?   s   