onFileDialog
Called to run a file chooser dialog.
Return
To display a custom dialog return true and execute callback. To display the default dialog return false.
Parameters
represents the type of dialog to display.
to be used for the dialog and may be empty to show the default title ("Open" or "Save" depending on the mode).
is the path with optional directory and/or file name component that should be initially selected in the dialog.
are used to restrict the selectable file types and may any combination of (a) valid lower-cased MIME types (e.g. "text/*" or "image/*"), (b) individual file extensions (e.g. ".txt" or ".png"), or (c) combined description and file extension delimited using "|" and ";" (e.g. "Image Types|.png;.gif;.jpg").
is a callback handler for handling own file dialogs.