Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EditorFileDialog
Inherits: FileDialog < ConfirmationDialog < AcceptDialog < Window < Viewport < Node < Object
A modified version of FileDialog used by the editor.
Description
EditorFileDialog is a FileDialog tweaked to work in the editor. It automatically handles favorite and recent directory lists, and synchronizes some properties with their corresponding editor settings.
EditorFileDialog will automatically show a native dialog based on the EditorSettings.interface/editor/use_native_file_dialogs editor setting and ignores FileDialog.use_native_dialog.
Note: EditorFileDialog is invisible by default. To make it visible, call one of the popup_* methods from Window on the node, such as Window.popup_centered_clamped().
Properties
|
Methods
void |
add_side_menu(menu: Control, title: String = "") |
Property Descriptions
bool disable_overwrite_warning = false 🔗
Deprecated: Use FileDialog.overwrite_warning_enabled instead.
If true, the EditorFileDialog will not warn the user before overwriting files.
Method Descriptions
Deprecated: This feature is no longer supported.
This method is kept for compatibility and does nothing. As an alternative, you can display another dialog after showing the file dialog.