Improve native file dialog parent window selection.
This commit is contained in:
parent
134da37497
commit
3e4e6e6c0c
18 changed files with 322 additions and 233 deletions
|
|
@ -143,6 +143,7 @@
|
|||
<param index="4" name="mode" type="int" enum="DisplayServer.FileDialogMode" />
|
||||
<param index="5" name="filters" type="PackedStringArray" />
|
||||
<param index="6" name="callback" type="Callable" />
|
||||
<param index="7" name="parent_window_id" type="int" default="0" />
|
||||
<description>
|
||||
Displays OS native dialog for selecting files or directories in the file system.
|
||||
Each filter string in the [param filters] array should be formatted like this: [code]*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg[/code]. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also [member FileDialog.filters].
|
||||
|
|
@ -166,6 +167,7 @@
|
|||
<param index="6" name="filters" type="PackedStringArray" />
|
||||
<param index="7" name="options" type="Dictionary[]" />
|
||||
<param index="8" name="callback" type="Callable" />
|
||||
<param index="9" name="parent_window_id" type="int" default="0" />
|
||||
<description>
|
||||
Displays OS native dialog for selecting files or directories in the file system with additional user selectable options.
|
||||
Each filter string in the [param filters] array should be formatted like this: [code]*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg[/code]. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also [member FileDialog.filters].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue