Skip to content

Commit

Permalink
add the radio menu item in fyne
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Thienel <[email protected]>
  • Loading branch information
ftl committed Dec 5, 2024
1 parent 8ef5e9d commit f198541
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fyneui/mainMenu.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type mainMenu struct {

fileMenu
editMenu
radioMenu
bandmapMenu
windowMenu
helpMenu
Expand All @@ -54,6 +55,9 @@ type fileMenu struct {
type editMenu struct {
}

type radioMenu struct {
}

type bandmapMenu struct {
}

Expand All @@ -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()...),
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f198541

Please sign in to comment.