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 vertical box container of the dialog, custom controls can be added to it. Invalidate and update the current dialog content list. 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. 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"). 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.