Skip to main content

Module present

Module present 

Source

Structs§

FileFilter
A named group of file extensions for a file dialog (e.g. “Text” → ["txt", "md"]). An empty extensions list means “all files”.
PresentButton

Enums§

ButtonRole
A dialog button’s semantic role: styling + default/cancel placement on each toolkit.
PresentResult
The user’s answer to a presentation.
PresentSpec
What a backend should present for a req. Kept toolkit-agnostic; the pieces layer maps a chosen button index back to a typed payload.

Constants§

UNIT_SEP
The unit-separator that joins string lists across the C ABI (Qt shim / Android JNI) — the same encoding the nav menu, combobox, and dialog-button shims use.

Functions§

app_temp_dir
An app-writable scratch directory: the backend-supplied one, else std::env::temp_dir(). Used by the file-save flow (docs/files.md) to stage bytes before the native save picker.
set_app_temp_dir
Record an app-writable scratch directory (see app_temp_dir). Called by a backend at startup when the OS temp dir isn’t writable by the app (Android).
Day API ↩ Guides· daybrite.dev