Struct EditorFileDialog

struct EditorFileDialog ;

Properties

NameTypeDescription
access[get, set] EditorFileDialog.AccessThe location from which the user may select a file, including res://, user://, and the local file system.
currentDir[get, set] StringThe currently occupied directory.
currentFile[get, set] StringThe currently selected file.
currentPath[get, set] StringThe file system path in the address bar.
disableOverwriteWarning[get, set] boolIf true, the EditorFileDialog will not warn the user before overwriting files.
displayMode[get, set] EditorFileDialog.DisplayModeThe view format in which the EditorFileDialog displays resources to the user.
mode[get, set] EditorFileDialog.ModeThe purpose of the EditorFileDialog, which defines the allowed behaviors.
showHiddenFiles[get, set] boolIf true, hidden files and directories will be visible in the EditorFileDialog.

Methods

NameDescription
_actionPressed
_cancelPressed
_dirEntered
_favoriteMoveDown
_favoriteMoveUp
_favoritePressed
_favoriteSelected
_fileEntered
_filterSelected
_goBack
_goForward
_goUp
_itemDbSelected
_itemListItemRmbSelected
_itemListRmbClicked
_itemMenuIdPressed
_itemsClearSelection
_itemSelected
_makeDir
_makeDirConfirm
_multiSelected
_recentSelected
_saveConfirmPressed
_selectDrive
_thumbnailDone
_thumbnailResult
_unhandledInput
_updateDir
_updateFileList
_updateFileName
addFilter Adds a comma-delimited file extension filter option to the EditorFileDialog with an optional semi-colon-delimited label. For example, "*.tscn, *.scn; Scenes" results in filter text "Scenes (*.tscn, *.scn)".
clearFilters Removes all filters except for "All Files (*)".
getAccess
getCurrentDir
getCurrentFile
getCurrentPath
getDisplayMode
getMode
getVbox Returns the VBoxContainer used to display the file system.
invalidate Notify the EditorFileDialog that its view of the data is no longer accurate. Updates the view contents on next view update.
isOverwriteWarningDisabled
isShowingHiddenFiles
setAccess
setCurrentDir
setCurrentFile
setCurrentPath
setDisableOverwriteWarning
setDisplayMode
setMode
setShowHiddenFiles

Enums

NameDescription
Access
Constants
DisplayMode
Mode