Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory Picker #95

Open
donolsch opened this issue Oct 4, 2023 · 3 comments
Open

Directory Picker #95

donolsch opened this issue Oct 4, 2023 · 3 comments

Comments

@donolsch
Copy link

donolsch commented Oct 4, 2023

Hi there,
Flet looks really promising! Great work!
I looked through your documentation but couldn't find a widget that supports the selection of multiple folders. It would be extremely handy to have a widget like file picker but instead of selecting files I need to be able to select folders (directories) that are returned as a list. Any plans of implementing that?

Thank you

@ndonkoHenri
Copy link
Collaborator

@donolsch
Copy link
Author

donolsch commented Oct 8, 2023

Yeah, that works great for one folder. But I can't choose multiple folders. For my app it's essential for the user to be able to select multiple folders. The result should be returned as a list containing the directory paths of the selected folders. Or does this already exist? Am I missing something?

For Tkinter apps I was able to use tkfilebrowser which allowed for multiple folder selection.
https://pypi.org/project/tkfilebrowser/ -> askopendirnames -> allow the selection of multiple folders

@ndonkoHenri
Copy link
Collaborator

ndonkoHenri commented Oct 8, 2023

Ah, alright. It was added some months ago (flutter/packages#3871) by the flutter team.
I think this issue should be moved to the flet repo instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants