Make EditorFileDialog inherit FileDialog

This commit is contained in:
kobewi
2025-12-02 12:30:51 +01:00
parent f5918a9d35
commit c1cc178a82
23 changed files with 253 additions and 3285 deletions

View File

@@ -118,6 +118,12 @@
Returns [code]true[/code] if the provided [param flag] is enabled.
</description>
</method>
<method name="popup_file_dialog">
<return type="void" />
<description>
Shows the [FileDialog] using the default size and position for file dialogs, and selects the file name if there is a current file.
</description>
</method>
<method name="set_customization_flag_enabled">
<return type="void" />
<param index="0" name="flag" type="int" enum="FileDialog.Customization" />
@@ -274,6 +280,7 @@
[b]Note:[/b] On Linux and macOS, sandboxed apps always use native dialogs to access the host file system.
[b]Note:[/b] On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use [method OS.get_granted_permissions] to get a list of saved bookmarks.
[b]Note:[/b] Native dialogs are isolated from the base process, file dialog properties can't be modified once the dialog is shown.
[b]Note:[/b] This property is ignored in [EditorFileDialog].
</member>
</members>
<signals>