how should menu's be implemented?

This commit is contained in:
Jeff Carr 2024-02-29 17:39:52 -06:00
parent 18a9a078e0
commit d3c0679fd9
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ func AutotypistView(parent *gui.Node) *RepoList {
me.reposbox = parent me.reposbox = parent
me.reposgroup = me.reposbox.NewGroup("my git repositories (configure in ~/.config/autotypist)") me.reposgroup = me.reposbox.NewGroup("my git repositories (configure in ~/.config/autotypist)")
// me.reposgroup.Menu = repolistMenu() // how to do a menu? what should the code look like?
me.reposgrid = me.reposgroup.NewGrid("test", 0, 0) me.reposgrid = me.reposgroup.NewGrid("test", 0, 0)
me.reposgrid.NewLabel("") // path goes here me.reposgrid.NewLabel("") // path goes here