robofab.interface.mac.getFileOrFolder
index
/code/projects/robofab/Lib/robofab/interface/mac/getFileOrFolder.py

This module provides two functions, very similar to
EasyDialogs.AskFileForOpen() and EasyDialogs.AskFolder(): GetFile() and
GetFileOrFolder(). The main difference is that the functions here fully
support "packages" or "bundles", ie. folders that appear to be files in
the finder and open/save dialogs. The second difference is that
GetFileOrFolder() allows the user to select a file _or_ a folder.

 
Modules
       
Carbon
Nav

 
Functions
       
GetFile(message=None)
Ask the user to select a file.
GetFileOrFolder(message=None)
Ask the user to select a file or a folder.

 
Data
        __all__ = ['GetFile', 'GetFileOrFolder']
kNavSupportPackages = 4096