From ce7fd66896c950f8532198b6754ab5d65e7ce231 Mon Sep 17 00:00:00 2001 From: Dimitri A Date: Mon, 10 Apr 2023 15:13:20 +0200 Subject: docs/FileDialog: Use clickable references This replaces two [code][/code] blocks with clickable refs to [enum Access] and [member file_mode] respectively. (cherry picked from commit a5778da55bbf777abe1490edbc82bb05c9718377) --- doc/classes/FileDialog.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml index af04956e61..407d4b2630 100644 --- a/doc/classes/FileDialog.xml +++ b/doc/classes/FileDialog.xml @@ -54,7 +54,7 @@ - The file system access scope. See enum [code]Access[/code] constants. + The file system access scope. See [enum Access] constants. [b]Warning:[/b] Currently, in sandboxed environments such as Web builds or sandboxed macOS apps, FileDialog cannot access the host file system. See [url=https://github.com/godotengine/godot-proposals/issues/1123]godot-proposals#1123[/url]. @@ -74,7 +74,7 @@ The available file type filters. For example, this shows only [code].png[/code] and [code].gd[/code] files: [code]set_filters(PackedStringArray(["*.png ; PNG Images","*.gd ; GDScript Files"]))[/code]. Multiple file types can also be specified in a single filter. [code]"*.png, *.jpg, *.jpeg ; Supported Images"[/code] will show both PNG and JPEG files when selected. - If [code]true[/code], changing the [code]Mode[/code] property will set the window title accordingly (e.g. setting mode to [constant FILE_MODE_OPEN_FILE] will change the window title to "Open a File"). + If [code]true[/code], changing the [member file_mode] property will set the window title accordingly (e.g. setting [member file_mode] to [constant FILE_MODE_OPEN_FILE] will change the window title to "Open a File"). If non-empty, the given sub-folder will be "root" of this [FileDialog], i.e. user won't be able to go to its parent directory. -- cgit v1.2.3