Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abonander/file_dialog
A file dialog in Rust using Conrod
https://github.com/abonander/file_dialog
Last synced: about 1 month ago
JSON representation
A file dialog in Rust using Conrod
- Host: GitHub
- URL: https://github.com/abonander/file_dialog
- Owner: abonander
- License: mit
- Created: 2014-12-06T05:19:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-02T02:41:14.000Z (almost 10 years ago)
- Last Synced: 2024-10-14T09:15:45.981Z (2 months ago)
- Language: Rust
- Size: 270 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
file_dialog
===========A file dialog in Rust using Conrod. Supports file/folder selection, and file saving. Does *not* modify the filesystem, only returning `Path`. You should confirm the returned paths are valid before operating on them.
See `examples/file_chooser.rs` for how to invoke the dialog.
####Note
While `file_dialog` is polymorphic over different `Window` implementations, `GlfwWindow` is currently not very useful as it cannot open more than one window at a time. The example had to be changed to use `Sdl2Window` for this reason.
###TODO
* Add documentation comments
* RustCI and TravisCI integration
* Improve examples
* Find better font
* Add folder selection example
* Improve dialog design
* Fix alignments
* Make positioning smarter
* Support custom resolutions/themes
* Make `FilePromise` safer (non-panicking)Screenshots
===========
It's not pretty, but it works and that's all that matters. Design can be fixed later.
####Selecting File
![][select-file]####Saving File
![][saving-file][select-file]: http://i.imgur.com/YYlAMbn.png
[saving-file]: http://i.imgur.com/SZekC2Y.png