error : undefined: app.NewWindow

320 views
Skip to first unread message

AndyPeng

unread,
Apr 22, 2024, 1:55:08 PM4/22/24
to golang-nuts
Imported the "gioui.org/app" package,but got an error when compiling: undefined: app.NewWindow.

Ian Lance Taylor

unread,
Apr 22, 2024, 1:56:32 PM4/22/24
to AndyPeng, golang-nuts
On Mon, Apr 22, 2024 at 10:54 AM AndyPeng <andy1...@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

Sebastien Binet

unread,
Apr 22, 2024, 2:30:50 PM4/22/24
to Ian Lance Taylor, AndyPeng, golang-nuts
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 <ia...@golang.org>:

--
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...@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.
Reply all
Reply to author
Forward
0 new messages