al_show_native_file_dialog
bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display,
ALLEGRO_FILECHOOSER *dialog)
Introduced in 5.0.0
Show the dialog window. The display may be NULL, otherwise the given display is treated as the parent if possible.
This function blocks the calling thread until it returns, so you may want to spawn a thread with al_create_thread and call it from inside that thread.
Returns true on success, false on failure.
Examples: ex_native_filechooser
Most helpful discussions:
- open directories with special characters (1)
- ALLEGRO_EVENT_DISPLAY_SWITCH_OUT
- Segfault in al_show_native_file_dialog()
- Windows: File Selection and Clipboard broken after unicode change
- Allegro 5.2.5 released!
- Allegro 5 file system
- Allegro 5 thread on other languages
- Drag and Drop system and TileMap
- [A5] Default filename for al_create_native_file_dialog()?
- [A5] Native Dialog, or path issue?