From f19854100e7b58af476832d468c83f649ff95bec Mon Sep 17 00:00:00 2001 From: Florian Thienel Date: Thu, 5 Dec 2024 21:44:49 +0100 Subject: [PATCH] add the radio menu item in fyne Signed-off-by: Florian Thienel --- fyneui/mainMenu.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fyneui/mainMenu.go b/fyneui/mainMenu.go index a87e1fa..5f74558 100644 --- a/fyneui/mainMenu.go +++ b/fyneui/mainMenu.go @@ -31,6 +31,7 @@ type mainMenu struct { fileMenu editMenu + radioMenu bandmapMenu windowMenu helpMenu @@ -54,6 +55,9 @@ type fileMenu struct { type editMenu struct { } +type radioMenu struct { +} + type bandmapMenu struct { } @@ -75,6 +79,7 @@ func setupMainMenu(mainWindow fyne.Window, controller MainMenuController, shortc mainMenu := fyne.NewMainMenu( fyne.NewMenu("File", result.setupFileMenu()...), fyne.NewMenu("Edit", result.setupEditMenu()...), + fyne.NewMenu("Radio", result.setupRadioMenu()...), fyne.NewMenu("Bandmap", result.setupBandmapMenu()...), fyne.NewMenu("Window", result.setupWindowMenu()...), fyne.NewMenu("Help", result.setupHelpMenu()...), @@ -181,6 +186,12 @@ func (m *mainMenu) setupEditMenu() []*fyne.MenuItem { return nil } +// RADIO + +func (m *mainMenu) setupRadioMenu() []*fyne.MenuItem { + return nil +} + // BANDMAP func (m *mainMenu) setupBandmapMenu() []*fyne.MenuItem {