al_show_native_file_dialog man page

al_show_native_file_dialog — Allegro 5 API


#include <allegro5/allegro_native_dialog.h>

bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display,


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(3) and call it from inside that thread.

Returns true on success, false on failure.

Referenced By


Allegro reference manual