EditorFileDialog

Hereda: FileDialog < ConfirmationDialog < AcceptDialog < Window < Viewport < Node < Object

Una versión modificada de FileDialog utilizada por el editor.

Descripción

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().

Propiedades

bool

disable_overwrite_warning

false

Métodos

void

add_side_menu(menu: Control, title: String = "")


Descripciones de Propiedades

bool disable_overwrite_warning = false 🔗

  • void set_disable_overwrite_warning(value: bool)

  • bool is_overwrite_warning_disabled()

Obsoleto: Use FileDialog.overwrite_warning_enabled instead.

Si es true, el EditorFileDialog no avisará al usuario antes de sobrescribir los archivos.


Descripciones de Métodos

void add_side_menu(menu: Control, title: String = "") 🔗

Obsoleto: 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.