EditorFileDialog
Inherits: FileDialog < ConfirmationDialog < AcceptDialog < Window < Viewport < Actor < Object
A modified version of FileDialog used by the editor.
Description
Section titled “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 actor, such as Window.popup_centered_clamped().
Note: On Linux and macOS, sandboxed apps always use native dialogs to access the host file system.