You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/DisplayServer.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@
120
120
<description>
121
121
Displays OS native dialog for selecting files or directories in the file system.
122
122
Callbacks have the following arguments: [code]status: bool, selected_paths: PackedStringArray, selected_filter_index: int[/code].
123
-
[b]Note:[/b] This method is implemented if the display server has the [constant FEATURE_NATIVE_DIALOG] feature, i.e. Linux (X11), Windows, and macOS.
123
+
[b]Note:[/b] This method is implemented if the display server has the [constant FEATURE_NATIVE_DIALOG] feature. Supported platforms include Linux (X11 and Wayland), Windows, and macOS.
124
124
[b]Note:[/b] [param current_directory] might be ignored.
125
125
[b]Note:[/b] On Linux, [param show_hidden] is ignored.
126
126
[b]Note:[/b] On macOS, native file dialogs have no title.
@@ -145,7 +145,7 @@
145
145
- [code]"values"[/code] - [PackedStringArray] of values. If empty, boolean option (check box) is used.
146
146
- [code]"default"[/code] - default selected option index ([int]) or default boolean value ([bool]).
147
147
Callbacks have the following arguments: [code]status: bool, selected_paths: PackedStringArray, selected_filter_index: int, selected_option: Dictionary[/code].
148
-
[b]Note:[/b] This method is implemented if the display server has the [constant FEATURE_NATIVE_DIALOG] feature, i.e. Linux, Windows, and macOS.
148
+
[b]Note:[/b] This method is implemented if the display server has the [constant FEATURE_NATIVE_DIALOG] feature. Supported platforms include Linux (X11 and Wayland), Windows, and macOS.
149
149
[b]Note:[/b] [param current_directory] might be ignored.
150
150
[b]Note:[/b] On Linux (X11), [param show_hidden] is ignored.
151
151
[b]Note:[/b] On macOS, native file dialogs have no title.
0 commit comments