I wrote recently about issues with tk9 and fyne on NetBSD11.
Now I am trying https://github.com/rivo/tview.
Some of his demos work, but when I get to 
https://github.com/rivo/tview/tree/master/demos/form if fails with th following:

# command-line-arguments
./guitest2.go:32:3: tview.NewForm().AddDropDown("Title", []string{…}, 0, 
nil).AddInputField("First name", "", 20, nil, nil).AddInputField("Last name", 
"", 20, nil, nil).AddTextArea("Address", "", 40, 0, 0, 
nil).AddTextView("Notes", "This is just a demo.\nYou can enter whatever you 
wish.", 40, 2, true, false).AddCheckbox("Age 18+", false, 
nil).AddPasswordField("Password", "", 10, '*', nil).AddButton("Save", func() 
{…}).AddButton("Quit", func() {…}).SetCancelFunc(func() {…}).SetSubmitFunc 
undefined (type *tview.Form has no field or method SetSubmitFunc)

My go version is 1.26.5

BTW the problem is the same on an OpenBSD7.9

Any hints?

Lots of search with no results make me think that no many are trying these 
things, ie GUI with go.

/Niels

Sent with Proton Mail secure email.


Reply via email to