Fyne API "storage.ExtensionFileFilter"
storage.ExtensionFileFilter
import "fyne.io/fyne/v2/storage"
Usage
type ExtensionFileFilter
type ExtensionFileFilter struct {
Extensions []string
}
ExtensionFileFilter represents a file filter based on the the ending of file names, for example “.txt” and “.png”.
func (*ExtensionFileFilter) Matches
func (e *ExtensionFileFilter) Matches(uri fyne.URI) bool
Matches returns true if a file URI has one of the filtered extensions.