mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 19:01:09 -07:00
11 lines
202 B
Go
11 lines
202 B
Go
package menu
|
|
|
|
// SubMenu creates a new submenu which may be added to other
|
|
// menus
|
|
func SubMenu(label string, items []*MenuItem) *MenuItem {
|
|
return &MenuItem{
|
|
Label: label,
|
|
SubMenu: items,
|
|
}
|
|
}
|