struct MenuBar
Swift
struct MenuBar
Root menubar description.
Sources/LavaMenu/Menu.swift:444
Constructors
init(@MenuBarBuilder content: () -> [Menu])
Creates a menubar from a @MenuBarBuilder block of menus.
Sources/LavaMenu/Menu.swift:449
init(menus: [Menu])
Creates a menubar from a list of menus.
Sources/LavaMenu/Menu.swift:454
Properties
Methods
func resolve() -> (model: MenuModel, actions: MenuActionTable)
Builds the platform IR and action table.
Sources/LavaMenu/Menu.swift:459