Luna::Window::FileDialogFlag

enum FileDialogFlag : u32
{
    multi_select= 0x01
    any_file= 0x02
}

The flags for opening one file dialog.

Options

  • multi_select

    Allows multiple files to be selected. This is enabled only for open_file_dialog and is ignored in save_file_dialog, since the user is allowed to select only one file in save_file_dialog.

  • any_file

    If the filter array is not empty and this is enabled, the file dialog allows the user to select one file with extension name that is not in the filter list. If the filter array is empty, this flag is ignored.