redirect_to | layout | tags | title | |
---|---|---|---|---|
page |
|
Fyne API "fyne.MainMenu" |
import "fyne.io/fyne/v2"
type MainMenu struct {
Items []*Menu
}
MainMenu defines the data required to show a menu bar (desktop) or other appropriate top level menu.
func NewMainMenu(items ...*Menu) *MainMenu
NewMainMenu creates a top level menu structure used by fyne.Window for displaying a menubar (or appropriate equivalent).