I'm attempting to use 'askdirectory' in order to populate a widget with the
relevant files in the user selected directory.  However, when using
'askdirectory' the user isn't able to see the files inside the directory,
unlike 'askopenfilename' which displays all the files.

Is there any fix to allow for the contents of a directory to be displayed
(like 'askopenfilename'), but maintain the functionality of
'askdirectory'?  I want to use 'askdirectory' because I don't want the user
to have to create a new file dialog window every time they want to switch
between files located in the same directory.

I've dug through the source code, but I can't seem to pinpoint where the
decision to display/show files is made depending on the choice of
'askopenfilename', 'askdirectory', etc.  Any help or direction would be
greatly appreciated.

Thanks,

Austin
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to