Skip to content
New issue

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

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

Already on GitHub? # to your account

Electron runtime #7

Open
Korijn opened this issue Oct 12, 2018 · 2 comments
Open

Electron runtime #7

Korijn opened this issue Oct 12, 2018 · 2 comments

Comments

@Korijn
Copy link

Korijn commented Oct 12, 2018

Would like to have support for file / folder selection dialogs, as Electron offers them, to have access to the filesystem path so it can be communicated to the backend.

I'm not aware of any other runtimes that are currently supported by Flexx that have this functionality, is that correct?

@Korijn
Copy link
Author

Korijn commented Oct 12, 2018

Actually, perhaps it would be easier to build this into dialite?

@almarklein
Copy link
Member

almarklein commented Oct 15, 2018

perhaps it would be easier to build this into dialite?

Dialite exposes minimal functionality to interact with the user. It uses a different (native) mechanism on each platform, so we can only use the features that lie on the intersection of all these mechanisms. I don't think a file selection dialog is available on each these mechanisms ...

There's also flexxui/flexx#485; a possible option for having file selection is to implement it in Flexx, with a combination of a PyComponent (to access the FS) and a Widget to have a view on it.

edit: should probably be some sort of dialog

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

No branches or pull requests

2 participants