Expand description
File dialogs and in-UI file browser for dear-imgui-rs.
Note on UTF-8/CJK: Dear ImGui’s default font does not include CJK glyphs.
If you need Chinese/Japanese/Korean or emoji, load a font that contains
those glyphs (e.g., Noto Sans SC) into the font atlas during initialization.
For best quality, enable the freetype feature and follow the pattern in
examples/style_and_fonts.rs to add fonts and ranges (e.g., Simplified
Chinese common glyphs).
Two backends:
- Native (via
rfd) for OS dialogs (desktop) and Web File Picker (wasm) - ImGui (pure-UI) browser that works everywhere and is fully themeable
Structs§
- File
Browser State - State for in-UI file browser
- File
Dialog - Builder for launching file dialogs
- File
Filter - File filter (e.g., “Images” -> [“png”, “jpg”]).
- Selection
- Selection result containing one or more paths
Enums§
- Backend
- Backend preference
- Click
Action - Click behavior for directory rows
- Dialog
Mode - Dialog mode
- File
Dialog Error - Errors returned by file dialogs and in-UI browser
- Layout
Style - Layout style for the in-UI file browser
- SortBy
- Sort keys for file list
Traits§
- File
Dialog Ext - Extend Ui with a file browser entry point