EditorFileDialog

A modified version of FileDialog used by the editor.

@GodotBaseClass
struct EditorFileDialog {}

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Access
enum Access
Constants
enum Constants
DisplayMode
enum DisplayMode
Mode
enum Mode

Functions

_actionPressed
void _actionPressed()
_cancelPressed
void _cancelPressed()
_dirEntered
void _dirEntered(String arg0)
_favoriteMoveDown
void _favoriteMoveDown()
_favoriteMoveUp
void _favoriteMoveUp()
_favoritePressed
void _favoritePressed()
_favoriteSelected
void _favoriteSelected(long arg0)
_fileEntered
void _fileEntered(String arg0)
_filterSelected
void _filterSelected(long arg0)
_goBack
void _goBack()
_goForward
void _goForward()
_goUp
void _goUp()
_itemDbSelected
void _itemDbSelected(long arg0)
_itemListItemRmbSelected
void _itemListItemRmbSelected(long arg0, Vector2 arg1)
_itemListRmbClicked
void _itemListRmbClicked(Vector2 arg0)
_itemMenuIdPressed
void _itemMenuIdPressed(long arg0)
_itemSelected
void _itemSelected(long arg0)
_itemsClearSelection
void _itemsClearSelection()
_makeDir
void _makeDir()
_makeDirConfirm
void _makeDirConfirm()
_multiSelected
void _multiSelected(long arg0, bool arg1)
_recentSelected
void _recentSelected(long arg0)
_saveConfirmPressed
void _saveConfirmPressed()
_selectDrive
void _selectDrive(long arg0)
_thumbnailDone
void _thumbnailDone(String arg0, Texture arg1, Texture arg2, VariantArg3 arg3)
_thumbnailResult
void _thumbnailResult(String arg0, Texture arg1, Texture arg2, VariantArg3 arg3)
_unhandledInput
void _unhandledInput(InputEvent arg0)
_updateDir
void _updateDir()
_updateFileList
void _updateFileList()
_updateFileName
void _updateFileName()
addFilter
void addFilter(String filter)

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
void clearFilters()

Removes all filters except for "All Files (*)".

getAccess
EditorFileDialog.Access getAccess()
getCurrentDir
String getCurrentDir()
getCurrentFile
String getCurrentFile()
getCurrentPath
String getCurrentPath()
getDisplayMode
EditorFileDialog.DisplayMode getDisplayMode()
getMode
EditorFileDialog.Mode getMode()
getVbox
VBoxContainer getVbox()

Returns the VBoxContainer used to display the file system.

invalidate
void invalidate()

Notify the EditorFileDialog that its view of the data is no longer accurate. Updates the view contents on next view update.

isOverwriteWarningDisabled
bool isOverwriteWarningDisabled()
isShowingHiddenFiles
bool isShowingHiddenFiles()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(EditorFileDialog other)
opEquals
bool opEquals(typeof(null) n)
setAccess
void setAccess(long access)
setCurrentDir
void setCurrentDir(String dir)
setCurrentFile
void setCurrentFile(String file)
setCurrentPath
void setCurrentPath(String path)
setDisableOverwriteWarning
void setDisableOverwriteWarning(bool disable)
setDisplayMode
void setDisplayMode(long mode)
setMode
void setMode(long mode)
setShowHiddenFiles
void setShowHiddenFiles(bool show)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

access
EditorFileDialog.Access access [@property getter]
long access [@property setter]

The location from which the user may select a file, including res://, user://, and the local file system.

currentDir
String currentDir [@property getter]
String currentDir [@property setter]

The currently occupied directory.

currentFile
String currentFile [@property getter]
String currentFile [@property setter]

The currently selected file.

currentPath
String currentPath [@property getter]
String currentPath [@property setter]

The file system path in the address bar.

disableOverwriteWarning
bool disableOverwriteWarning [@property getter]
bool disableOverwriteWarning [@property setter]

If true, the EditorFileDialog will not warn the user before overwriting files.

displayMode
EditorFileDialog.DisplayMode displayMode [@property getter]
long displayMode [@property setter]

The view format in which the EditorFileDialog displays resources to the user.

mode
EditorFileDialog.Mode mode [@property getter]
long mode [@property setter]

The purpose of the EditorFileDialog, which defines the allowed behaviors.

showHiddenFiles
bool showHiddenFiles [@property getter]
bool showHiddenFiles [@property setter]

If true, hidden files and directories will be visible in the EditorFileDialog.

Static functions

_new
EditorFileDialog _new()

Construct a new instance of EditorFileDialog. Note: use memnew!EditorFileDialog instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta