webruntime icon indicating copy to clipboard operation
webruntime copied to clipboard

Electron runtime

Open Korijn opened this issue 6 years ago • 2 comments

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 avatar Oct 12 '18 13:10 Korijn

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

Korijn avatar Oct 12 '18 15:10 Korijn

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 https://github.com/flexxui/flexx/issues/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

almarklein avatar Oct 15 '18 07:10 almarklein