diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml index 247228d2653..29aa26b67f0 100644 --- a/doc/classes/FileDialog.xml +++ b/doc/classes/FileDialog.xml @@ -17,7 +17,7 @@ - Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); + Add a custom filter. Example: [code]add_filter("*.png ; PNG Images")[/code] @@ -31,12 +31,14 @@ + Clear currently selected items in the dialog. + Returns the LineEdit for the selected file. @@ -56,6 +58,7 @@ + The file system access scope. See enum [code]Access[/code] constants. The current working directory of the file dialog. @@ -67,13 +70,16 @@ The currently selected file path of the file dialog. + Set file type filters. This example shows only .png and .gd files [code]set_filters(PoolStringArray(["*.png ; PNG Images","*.gd ; GD Script"]))[/code]. + Set dialog to open or save mode, changes selection behavior. See enum [code]Mode[/code] constants. - If [code]true[/code], changing the [code]mode[/code] property will set the window title accordingly (e. g. setting mode to [code]MODE_OPEN_FILE[/code] will change the window title to "Open a File"). + If [code]true[/code], changing the [code]Mode[/code] property will set the window title accordingly (e. g. setting mode to [code]MODE_OPEN_FILE[/code] will change the window title to "Open a File"). + If [code]true[/code], the dialog will show hidden files. diff --git a/doc/classes/String.xml b/doc/classes/String.xml index d404c32b38b..536165487d5 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -671,6 +671,7 @@ + Returns the SHA-256 hash of the string as an array of bytes.