Sindbad~EG File Manager
�
&Μg�- � �� � d Z ddl� ddlmZmZ ddlmZ G d� d� Z G d� de� Zdd
�Zd� Z G d� d
e� Z
G d� de
� Zd� Z G d� de
� Z
d� Z G d� de
� Zd� Zedk( rd� Z e� y y )a& This modules handles dialog boxes.
It contains the following public symbols:
SimpleDialog -- A simple but flexible modal dialog box
Dialog -- a base class for dialogs
askinteger -- get an integer from the user
askfloat -- get a float from the user
askstring -- get a string from the user
� )�*)�_get_temp_root�_destroy_temp_root)�
messageboxc �8 � e Zd Zdg ddddfd�Zd� Zd� Zd� Zd� Zy)�SimpleDialog� Nc �� � |rt ||�� | _ nt |� | _ |r6| j j |� | j j |� t | j � t | j |d�� | _ | j j dt �� t | j � | _
| j j � || _ || _ || _
| j j d| j � t! t# |� � D ][ }|| } t% | j | | |fd��� }
||k( r|
j'