Initial support for menus

This commit is contained in:
Lea Anthony
2020-11-24 19:43:25 +11:00
parent 810b3c7440
commit 6f218264ed
19 changed files with 906 additions and 28 deletions

View File

@@ -1,9 +1,12 @@
package mac
// Options are options speific to Mac
import "github.com/wailsapp/wails/v2/pkg/menu"
// Options are options specific to Mac
type Options struct {
TitleBar *TitleBar
Appearance AppearanceType
WebviewIsTransparent bool
WindowBackgroundIsTranslucent bool
Menu *menu.Menu
}