Skip to main content

Module dialogs

Module dialogs 

Source

Structs§

FileDialog
What to ask the OS for. Every field is optional: an empty request opens the platform’s default “any file, last directory” dialog.
FileFilter
One entry of a dialog’s type filter: a name the user reads and the extensions it accepts.

Traits§

FileDialogs
The OS file-chooser, as the vocabulary crate sees it.

Functions§

file_dialogs
The installed backend, or None on a platform with no file chooser (headless, Android today).
set_file_dialogs
Installs the backend the app’s dialogs go through. The desktop runner calls this at startup; a test or a headless build can install a stub instead. The first call wins.