diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-08-18 21:50:32 -0400 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-08-18 21:50:32 -0400 |
| commit | 0fd0a98369b72d63e923b527c4dbcccefc2b0c83 (patch) | |
| tree | a92c01cfc0eff8671fd542d9c9b90bbbe4a65b21 /gem | |
| parent | 024a2c85d087fa2b90e20923eeb351a637eca97e (diff) | |
| download | gempy-0fd0a98369b72d63e923b527c4dbcccefc2b0c83.tar.gz gempy-0fd0a98369b72d63e923b527c4dbcccefc2b0c83.zip | |
Added an interface to the basic GEM file selection dialog.
Diffstat (limited to 'gem')
| -rw-r--r-- | gem/aes.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -53,6 +53,14 @@ def window_update(action): END_MCTRL, or BEG_MCTRL.""" _gem.wind_update(action) +def basic_file_dialog(path): + """Opens a basic file selection dialog starting at the + specified path.""" + window_update(BEG_MCTRL) + ret = _gem.fsel_input(path) + window_update(END_MCTRL) + return ret + class Window: """A class wrapping GEM windows and their functionality""" |
