:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/EditorFileDialog.xml. .. _class_EditorFileDialog: EditorFileDialog ================ **Inherits:** :ref:`FileDialog` **<** :ref:`ConfirmationDialog` **<** :ref:`AcceptDialog` **<** :ref:`Window` **<** :ref:`Viewport` **<** :ref:`Node` **<** :ref:`Object` A modified version of :ref:`FileDialog` used by the editor. .. rst-class:: classref-introduction-group Description ----------- **EditorFileDialog** is a :ref:`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 :ref:`EditorSettings.interface/editor/use_native_file_dialogs` editor setting and ignores :ref:`FileDialog.use_native_dialog`. \ **Note:** **EditorFileDialog** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------+---------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`disable_overwrite_warning` | ``false`` | +-------------------------+---------------------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`add_side_menu`\ (\ menu\: :ref:`Control`, title\: :ref:`String` = ""\ ) | +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_EditorFileDialog_property_disable_overwrite_warning: .. rst-class:: classref-property :ref:`bool` **disable_overwrite_warning** = ``false`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_disable_overwrite_warning**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_overwrite_warning_disabled**\ (\ ) **Deprecated:** Use :ref:`FileDialog.overwrite_warning_enabled` instead. If ``true``, the **EditorFileDialog** will not warn the user before overwriting files. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_EditorFileDialog_method_add_side_menu: .. rst-class:: classref-method |void| **add_side_menu**\ (\ menu\: :ref:`Control`, title\: :ref:`String` = ""\ ) :ref:`🔗` **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. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)` .. |void| replace:: :abbr:`void (No return value.)`