ExtensionFilter

data class ExtensionFilter

Extension filters for FileDialogs.

Maps a file type description to its extensions.

To generate e.g. "Image Files (*.png, *.jpg)" set description = "Image files" and extensions = ("png", "jpg").

Constructors

Link copied to clipboard
fun ExtensionFilter(description: String, vararg extensions: String)

Creates an ExtensionFilter.

Properties

Link copied to clipboard
val description: String

File type description.