The latest tagged version of Gio removed that function. Please have a look at the release notes:
https://gioui.org/news/2024-04 Hth, -s Apr 22, 2024 19:56:34 Ian Lance Taylor <i...@golang.org>: > On Mon, Apr 22, 2024 at 10:54 AM AndyPeng <andy135...@gmail.com> wrote: >> >> Imported the "gioui.org/app" package,but got an error when compiling: >> undefined: app.NewWindow. > > Please tell us exactly what you did and exactly what happened. Show > us the code. > > Ian > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX9fwrqAM-ck_AYWYz3qc-j3hxzgJtyaHOGZFL-P1VM4g%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c983c9c7-70a8-441a-8362-96474b1bf48c%40sbinet.org.