diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml index bae1746a6ad..6e286868c10 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,6 +31,7 @@ + Clear currently selected items in the dialog. @@ -50,6 +51,7 @@ + The file system access scope. See enum [code]Access[/code] constants. The current working directory of the file dialog. @@ -61,13 +63,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 ebaa12eb0fb..8a4220edf16 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -638,6 +638,7 @@ + Returns the SHA-256 hash of the string as an array of bytes.