al_get_native_file_dialog_path(3alleg5)

al_get_native_file_dialog_path3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro_native_dialog.h>
const char *al_get_native_file_dialog_path(
   const ALLEGRO_FILECHOOSER *dialog, size_t i)

Overview

Returns one of the selected paths with index i. The index should range from 0 to the return value of al_get_native_file_dialog_count(3alleg5) -1.

Note: On Android, this function returns a content:// Universal Resource Identifier instead of a file path due to the constraints of Scoped Storage. Selected files may be accessed using al_android_open_fd(3alleg5).

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.