Merge pull request #107143 from Mickeon/documentation-miscellaneous-oddities-part-5

Fix miscellaneous oddities around the class reference (part 5)
This commit is contained in:
Rémi Verschelde 2025-06-13 15:53:47 +02:00
commit cec5c89f9d
No known key found for this signature in database
GPG key ID: C3336907360768E1
34 changed files with 90 additions and 89 deletions

View file

@ -14,7 +14,7 @@
<param index="0" name="filter" type="String" />
<param index="1" name="description" type="String" default="&quot;&quot;" />
<description>
Adds a comma-delimited file name [param filter] option to the [FileDialog] with an optional [param description], which restricts what files can be picked.
Adds a comma-separated file name [param filter] option to the [FileDialog] with an optional [param description], which restricts what files can be picked.
A [param filter] should be of the form [code]"filename.extension"[/code], where filename and extension can be [code]*[/code] to match any string. Filters starting with [code].[/code] (i.e. empty filenames) are not allowed.
For example, a [param filter] of [code]"*.png, *.jpg"[/code] and a [param description] of [code]"Images"[/code] results in filter text "Images (*.png, *.jpg)".
</description>