I have been playing with gui programming to make some non web gui interfaces 
for students.

I started witk Python and tkinter, and I have a prototype.
Now I wanted a similar thing with the Go language.

To start I have taken a demo hello world off the modernc.org/tk9.0 website just 
to check.
It gives the following disappointing result:

 $ cat guitest10.go
package main

import tk "modernc.org/tk9.0"

func main() {
    tk.Pack(
        tk.TButton(
            tk.Txt("Hello, TK!"),
            tk.Command(func() {
                tk.Destroy(tk.App)
            })),
        tk.Ipadx(10), tk.Ipady(5), tk.Padx(15), tk.Pady(10),
    )
    tk.App.Wait()
}
nml ~/golang/goto/guitk
 $ go run guitest10.go
# github.com/ebitengine/purego
../../../go/pkg/mod/github.com/ebitengine/[email protected]/struct_amd64.go:12:46: 
undefined: syscall15Args

I am on go 1.26.2

I hope someone has a hint for me.

/Niels

Sent with Proton Mail secure email.


Reply via email to