[Native File Dialogs] Improve filter list handling, add selected filter to the callback.
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
<param index="6" name="callback" type="Callable" />
|
||||
<description>
|
||||
Displays OS native dialog for selecting files or directories in the file system.
|
||||
Callbacks have the following arguments: [code]bool status, PackedStringArray selected_paths[/code].
|
||||
Callbacks have the following arguments: [code]bool status, PackedStringArray selected_paths, int selected_filter_index[/code].
|
||||
[b]Note:[/b] This method is implemented if the display server has the [code]FEATURE_NATIVE_DIALOG[/code] feature.
|
||||
[b]Note:[/b] This method is implemented on Linux, Windows and macOS.
|
||||
[b]Note:[/b] [param current_directory] might be ignored.
|
||||
|
||||
Reference in New Issue
Block a user