Debian Codegraph @

doc/classes/EditorFileDialog.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="EditorFileDialog" inherits="FileDialog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A modified version of [FileDialog] used by the editor.
5 </brief_description>
6 <description>
7 [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.
8 [EditorFileDialog] will automatically show a native dialog based on the [member EditorSettings.interface/editor/use_native_file_dialogs] editor setting and ignores [member FileDialog.use_native_dialog].
9 [b]Note:[/b] [EditorFileDialog] is invisible by default. To make it visible, call one of the [code]popup_*[/code] methods from [Window] on the node, such as [method Window.popup_centered_clamped].
10 </description>
11 <tutorials>
12 </tutorials>
13 <methods>
14 <method name="add_side_menu" deprecated="This feature is no longer supported.">
15 <return type="void" />
16 <param index="0" name="menu" type="Control" />
17 <param index="1" name="title" type="String" default="&quot;&quot;" />
18 <description>
19 This method is kept for compatibility and does nothing. As an alternative, you can display another dialog after showing the file dialog.
20 </description>
21 </method>
22 </methods>
23 <members>
24 <member name="disable_overwrite_warning" type="bool" setter="set_disable_overwrite_warning" getter="is_overwrite_warning_disabled" default="false" deprecated="Use [member FileDialog.overwrite_warning_enabled] instead.">
25 If [code]true[/code], the [EditorFileDialog] will not warn the user before overwriting files.
26 </member>
27 </members>
28 </class>