ImageFile.Stoner__compat__get_filedialog

ImageFile.Stoner__compat__get_filedialog(**opts)

Wrap around Tk file dialog to manage creating file dialogs in a cross platform way.

Parameters:
  • what (str) – What sort of a dialog to create - options are ‘file’,’directory’,’save’,’files’

  • **opts (dict) – Arguments to pass through to the underlying dialog function.

Returns:

A file name or directory or list of files.