Revery: Native Integration: 'dialog' API

Created on 23 Jan 2019  路  2Comments  路  Source: revery-ui/revery

This issue is tracking the integration of a 'dialog' API for displaying native system dialogs for opening, saving files, alerting, etc.

As an inspiration, the Electron API would be a great start: https://electronjs.org/docs/api/dialog

This will require both creating Reason stubs and then using the C FFI to call the appropriate APIs for each platform.

A-native A-primitives help wanted

Most helpful comment

Do we need to pull in another dependency for this? It doesn't seem like an enormous amount of code, so we might just want to write our own API for this from scratch.

All 2 comments

This lib looks like an interesting one to provide a consistent API for cross-platform file-picker dialogs: https://github.com/mlabbe/nativefiledialog

Do we need to pull in another dependency for this? It doesn't seem like an enormous amount of code, so we might just want to write our own API for this from scratch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JulesGuesnon picture JulesGuesnon  路  5Comments

aweary picture aweary  路  5Comments

ulrikstrid picture ulrikstrid  路  6Comments

broerjuang picture broerjuang  路  4Comments

bryphe picture bryphe  路  3Comments