mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 23:02:19 +08:00
20 lines
562 B
Go
20 lines
562 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
|
|
WindowBackgroundIsTranslucent bool
|
|
ActivationPolicy ActivationPolicy
|
|
URLHandlers map[string]func(string)
|
|
}
|