I'm using Windows (don't hate me), and trying to make the directory
browser dialog (directoryDiag) look more like the file browser dialog
(openFileDialog).
This is the file browser dialog, which is pretty large and has
shortcuts to My Documents, Desktop, etc. on the left frame:
result = dialog.openFileDialog(wildcard=wildcard)
The problem with the file browser dialog is it won't return any data
unless you select a file.
This is the directory browser dialog, which is extremely small,
non-resizable and generally hard to work with:
result = dialog.directoryDialog(self, 'Choose a directory', 'a')
Does anyone know of a way to expand the directoryDialog to look more
like the openFileDialog, or to get the openFileDialog to return a
directory but without clicking on any file?
Thanks for any help.
|