Options to configure the behaviour of a file save dialog.
Options to configure the behaviour of a file save dialog.
(default-uri save-dialog-options)
The resource the dialog shows when opened.
Returns: Uri | undefined
The resource the dialog shows when opened. **Returns:** `Uri | undefined`
(filters save-dialog-options)
A set of file filters that are used by the dialog. Each entry is a human-readable label, like "TypeScript", and an array of extensions, for example:
{
'Images': ['png', 'jpg'],
'TypeScript': ['ts', 'tsx']
}
Returns: { [name: string]: string[]; } | undefined
A set of file filters that are used by the dialog. Each entry is a human-readable label, like "TypeScript", and an array of extensions, for example: ```ts { 'Images': ['png', 'jpg'], 'TypeScript': ['ts', 'tsx'] } ``` **Returns:** `{ [name: string]: string[]; } | undefined`
(save-label save-dialog-options)
A human-readable string for the save button.
Returns: string | undefined
A human-readable string for the save button. **Returns:** `string | undefined`
(set-default-uri! save-dialog-options value)
The resource the dialog shows when opened.
The resource the dialog shows when opened.
(set-filters! save-dialog-options value)
A set of file filters that are used by the dialog. Each entry is a human-readable label, like "TypeScript", and an array of extensions, for example:
{
'Images': ['png', 'jpg'],
'TypeScript': ['ts', 'tsx']
}
A set of file filters that are used by the dialog. Each entry is a human-readable label, like "TypeScript", and an array of extensions, for example: ```ts { 'Images': ['png', 'jpg'], 'TypeScript': ['ts', 'tsx'] } ```
(set-save-label! save-dialog-options value)
A human-readable string for the save button.
A human-readable string for the save button.
(set-title! save-dialog-options value)
Dialog title.
This parameter might be ignored, as not all operating systems display a title on save dialogs (for example, macOS).
Dialog title. This parameter might be ignored, as not all operating systems display a title on save dialogs (for example, macOS).
(title save-dialog-options)
Dialog title.
This parameter might be ignored, as not all operating systems display a title on save dialogs (for example, macOS).
Returns: string | undefined
Dialog title. This parameter might be ignored, as not all operating systems display a title on save dialogs (for example, macOS). **Returns:** `string | undefined`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close