Dialog for selecting files or directories in the filesystem.
FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks.
Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images");
Clear all the added filters in the dialog.
Return the file access permission of the dialog.
Get the current working directory of the file dialog.
Get the current selected file of the file dialog (empty if none).
Get the current selected path (directory and file) of the file dialog (empty if none).
Get the file dialog mode from the MODE_* enum.
Return the vertical box container of the dialog, custom controls can be added to it.
Invalidate and update the current dialog content list.
Return true if the dialog allows show hidden files.
Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]).
Set the current working directory of the file dialog.
Set the current selected file name of the file dialog.
Set the current selected file path of the file dialog.
Set the file dialog mode from the MODE_* enum.
Set the dialog should show hidden files.
Event emitted when the user selects a directory.
Event emitted when the user selects a file (double clicks it or presses the OK button).
Event emitted when the user selects multiple files.
The dialog allows the selection of one, and only one file.
The dialog allows the selection of multiple files.
The dialog functions as a folder selector, disallowing the selection of any file.
The dialog allows the selection of a file or a directory.
The dialog will warn when a file exists.
The dialog allows the selection of file and directory.
The dialog allows access files under [Resource] path(res://) .
The dialog allows access files in whole file system.