mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 23:59:52 +08:00
20 lines
508 B
Go
20 lines
508 B
Go
package mac
|
|
|
|
type ActivationPolicy int
|
|
|
|
const (
|
|
NSApplicationActivationPolicyRegular ActivationPolicy = 0
|
|
NSApplicationActivationPolicyAccessory ActivationPolicy = 1
|
|
NSApplicationActivationPolicyProhibited ActivationPolicy = 2
|
|
)
|
|
|
|
// Options are options specific to Mac
|
|
type Options struct {
|
|
TitleBar *TitleBar
|
|
Appearance AppearanceType
|
|
WebviewIsTransparent bool
|
|
WindowIsTranslucent bool
|
|
ActivationPolicy ActivationPolicy
|
|
URLHandlers map[string]func(string)
|
|
}
|