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
Hérite de : FileDialog < ConfirmationDialog < AcceptDialog < Window < Viewport < Node < Object
Une version modifié du FileDialog utilisé par l'éditeur.
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/appearance/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().
Note: On Linux and macOS, sandboxed apps always use native dialogs to access the host file system.
Propriétés
|
Méthodes
void |
add_side_menu(menu: Control, title: String = "") |
Descriptions des propriétés
bool disable_overwrite_warning = false 🔗
Obsolète : Use FileDialog.overwrite_warning_enabled instead.
Si true, le EditorFileDialog n'avertira pas l'utilisateur avant d'écraser des fichiers.
Descriptions des méthodes
Obsolète : 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.