in reply to Setting size of Tk chooseDirectory
I remember this problem from a long time ago. I needed to know the directory where hundreds of data files were located. Instead of asking about the directory directly, I asked the user to select one of the data files using the Tk::getOpenFile widget. That widget looks really nice on Windows and presented an easy to understand task to do. I threw away the file name and used the directory path. This "show me one of the data files", didn't confuse the users and worked out ok for me.
Yes, this is a super kludge with a lot of limitations - like it won't work if you are asking for a directory to put results into (no files to select). I just mention this as a "hack" possibility - asking a more detailed question than you actually need.
Sorry that I don't have an obvious, easy, "great" answer for you. I am not sure that there is one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting size of Tk chooseDirectory
by Anonymous Monk on Aug 11, 2016 at 01:03 UTC | |
by Anonymous Monk on Aug 11, 2016 at 01:20 UTC | |
by Marshall (Canon) on Aug 11, 2016 at 01:44 UTC | |
by Anonymous Monk on Aug 11, 2016 at 02:03 UTC | |
by Marshall (Canon) on Aug 11, 2016 at 02:23 UTC | |
|