mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 01:13:03 +08:00
28 lines
654 B
Go
28 lines
654 B
Go
package mac
|
|
|
|
//type ActivationPolicy int
|
|
//
|
|
//const (
|
|
// NSApplicationActivationPolicyRegular ActivationPolicy = 0
|
|
// NSApplicationActivationPolicyAccessory ActivationPolicy = 1
|
|
// NSApplicationActivationPolicyProhibited ActivationPolicy = 2
|
|
//)
|
|
|
|
type AboutInfo struct {
|
|
Title string
|
|
Message string
|
|
Icon []byte
|
|
}
|
|
|
|
// Options are options specific to Mac
|
|
type Options struct {
|
|
TitleBar *TitleBar
|
|
Appearance AppearanceType
|
|
WebviewIsTransparent bool
|
|
WindowIsTranslucent bool
|
|
Preferences *Preferences
|
|
//ActivationPolicy ActivationPolicy
|
|
About *AboutInfo
|
|
//URLHandlers map[string]func(string)
|
|
}
|