Skip to main content

Module dialog

Module dialog 

Source
Expand description

File dialogs, shared by the interpreter and compiled apps. Code asks for one during an event; it is shown once the event has finished and the UI caught up, and the user’s answer comes back through the app’s waker, like a download’s reports.

Structs§

Dialogs
The dialogs an app has asked for, and the answers that have come back. T says where each answer goes, in whatever terms the app uses.
FileDialog
A dialog as the platform shows it.

Enums§

DialogKind
What a dialog asks the user to pick. Compiled code passes it to the runtime as a u32, which every platform’s C calling convention passes without widening.
Picked
How a dialog closed.

Traits§

ShowDialog
Shows file dialogs; every Backend is one, so code that isn’t generic over the backend can hold it as Rc<dyn ShowDialog>.

Type Aliases§

DialogHandler