mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 12:40:11 +08:00
28 lines
820 B
Go
28 lines
820 B
Go
package options
|
|
|
|
// OpenDialog contains the options for the OpenDialog runtime method
|
|
type OpenDialog struct {
|
|
DefaultDirectory string
|
|
DefaultFilename string
|
|
Title string
|
|
Filters string
|
|
AllowFiles bool
|
|
AllowDirectories bool
|
|
AllowMultiple bool
|
|
ShowHiddenFiles bool
|
|
CanCreateDirectories bool
|
|
ResolveAliases bool
|
|
TreatPackagesAsDirectories bool
|
|
}
|
|
|
|
// SaveDialog contains the options for the SaveDialog runtime method
|
|
type SaveDialog struct {
|
|
DefaultDirectory string
|
|
DefaultFilename string
|
|
Title string
|
|
Filters string
|
|
ShowHiddenFiles bool
|
|
CanCreateDirectories bool
|
|
TreatPackagesAsDirectories bool
|
|
}
|