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. Example: [code]add_filter("*.png ; PNG Images")[/code]
Clear all the added filters in the dialog.
Clear currently selected items in the dialog.
Returns the LineEdit for the selected file.
Returns the vertical box container of the dialog, custom controls can be added to it.
Invalidate and update the current dialog content list.
The file system access scope. See enum [code]Access[/code] constants.
The current working directory of the file dialog.
The currently selected file of the file dialog.
The currently selected file path of the file dialog.
Set file type filters. This example shows only .png and .gd files [code]set_filters(PoolStringArray(["*.png ; PNG Images","*.gd ; GD Script"]))[/code].
Set dialog to open or save mode, changes selection behavior. See enum [code]Mode[/code] constants.
If [code]true[/code], changing the [code]Mode[/code] property will set the window title accordingly (e.g. setting mode to [code]MODE_OPEN_FILE[/code] will change the window title to "Open a File").
If [code]true[/code], the dialog will 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.