summaryrefslogtreecommitdiff
path: root/doc/classes/FileDialog.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/FileDialog.xml')
-rw-r--r--doc/classes/FileDialog.xml80
1 files changed, 13 insertions, 67 deletions
diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml
index b3d131ca40..8057e95d44 100644
--- a/doc/classes/FileDialog.xml
+++ b/doc/classes/FileDialog.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="FileDialog" inherits="ConfirmationDialog" category="Core" version="3.0.alpha.custom_build">
+<class name="FileDialog" inherits="ConfirmationDialog" category="Core" version="3.0-beta">
<brief_description>
Dialog for selecting files or directories in the filesystem.
</brief_description>
@@ -27,11 +27,10 @@
Clear all the added filters in the dialog.
</description>
</method>
- <method name="get_access" qualifiers="const">
- <return type="int" enum="FileDialog.Access">
+ <method name="deselect_items">
+ <return type="void">
</return>
<description>
- Return the file access permission of the dialog.
</description>
</method>
<method name="get_current_dir" qualifiers="const">
@@ -55,19 +54,6 @@
Get the current selected path (directory and file) of the file dialog (empty if none).
</description>
</method>
- <method name="get_filters" qualifiers="const">
- <return type="PoolStringArray">
- </return>
- <description>
- </description>
- </method>
- <method name="get_mode" qualifiers="const">
- <return type="int" enum="FileDialog.Mode">
- </return>
- <description>
- Get the file dialog mode from the MODE_* enum.
- </description>
- </method>
<method name="get_vbox">
<return type="VBoxContainer">
</return>
@@ -82,22 +68,6 @@
Invalidate and update the current dialog content list.
</description>
</method>
- <method name="is_showing_hidden_files" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Return true if the dialog allows show hidden files.
- </description>
- </method>
- <method name="set_access">
- <return type="void">
- </return>
- <argument index="0" name="access" type="int" enum="FileDialog.Access">
- </argument>
- <description>
- Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]).
- </description>
- </method>
<method name="set_current_dir">
<return type="void">
</return>
@@ -125,32 +95,6 @@
Set the current selected file path of the file dialog.
</description>
</method>
- <method name="set_filters">
- <return type="void">
- </return>
- <argument index="0" name="filters" type="PoolStringArray">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_mode">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="int" enum="FileDialog.Mode">
- </argument>
- <description>
- Set the file dialog mode from the MODE_* enum.
- </description>
- </method>
- <method name="set_show_hidden_files">
- <return type="void">
- </return>
- <argument index="0" name="show" type="bool">
- </argument>
- <description>
- Set the dialog should show hidden files.
- </description>
- </method>
</methods>
<members>
<member name="access" type="int" setter="set_access" getter="get_access" enum="FileDialog.Access">
@@ -186,28 +130,28 @@
</signal>
</signals>
<constants>
- <constant name="MODE_OPEN_FILE" value="0">
+ <constant name="MODE_OPEN_FILE" value="0" enum="Mode">
The dialog allows the selection of one, and only one file.
</constant>
- <constant name="MODE_OPEN_FILES" value="1">
+ <constant name="MODE_OPEN_FILES" value="1" enum="Mode">
The dialog allows the selection of multiple files.
</constant>
- <constant name="MODE_OPEN_DIR" value="2">
+ <constant name="MODE_OPEN_DIR" value="2" enum="Mode">
The dialog functions as a folder selector, disallowing the selection of any file.
</constant>
- <constant name="MODE_OPEN_ANY" value="3">
+ <constant name="MODE_OPEN_ANY" value="3" enum="Mode">
The dialog allows the selection of a file or a directory.
</constant>
- <constant name="MODE_SAVE_FILE" value="4">
+ <constant name="MODE_SAVE_FILE" value="4" enum="Mode">
The dialog will warn when a file exists.
</constant>
- <constant name="ACCESS_RESOURCES" value="0">
+ <constant name="ACCESS_RESOURCES" value="0" enum="Access">
The dialog allows the selection of file and directory.
</constant>
- <constant name="ACCESS_USERDATA" value="1">
+ <constant name="ACCESS_USERDATA" value="1" enum="Access">
The dialog allows access files under [Resource] path(res://) .
</constant>
- <constant name="ACCESS_FILESYSTEM" value="2">
+ <constant name="ACCESS_FILESYSTEM" value="2" enum="Access">
The dialog allows access files in whole file system.
</constant>
</constants>
@@ -216,6 +160,8 @@
</theme_item>
<theme_item name="folder" type="Texture">
</theme_item>
+ <theme_item name="parent_folder" type="Texture">
+ </theme_item>
<theme_item name="reload" type="Texture">
</theme_item>
</theme_items>