Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/exp/shiny: screen.Window events does not exist #14401

Closed
Triangle345 opened this issue Feb 19, 2016 · 4 comments
Closed

x/exp/shiny: screen.Window events does not exist #14401

Triangle345 opened this issue Feb 19, 2016 · 4 comments

Comments

@Triangle345
Copy link

In shiny.go: https://github.com/golang/mobile/blob/master/app/shiny.go

w.Events line 42 throws an error because Events does not exist in the Window interface : https://github.com/golang/exp/blob/master/shiny/screen/screen.go

..\golang.org\x\mobile\app\shiny.go:42: w.Events undefined (type screen.Window has no field or method Events)

This was caught while trying to run the basic mobile example on Windows 10 64 bit.

@wdsgyj
Copy link

wdsgyj commented Feb 19, 2016

the same error

@Triangle345
Copy link
Author

however; this did compile fine using the gomobile executable... Wondering maybe it was not meant to be ran stand alone via go run

@rakyll rakyll changed the title screen.Window events does not exist x/exp/shiny: screen.Window events does not exist Feb 24, 2016
@rakyll
Copy link
Contributor

rakyll commented Feb 24, 2016

/cc @crawshaw @nigeltao

@gopherbot
Copy link

CL https://golang.org/cl/19872 mentions this issue.

@golang golang locked and limited conversation to collaborators Feb 28, 2017
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Fixes golang/go#14401.

Change-Id: Id8bbc69e8dcb397094c165e97946d4d2688f34ad
Reviewed-on: https://go-review.googlesource.com/19872
Reviewed-by: David Crawshaw <crawshaw@golang.org>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Fixes golang/go#14401.

Change-Id: Id8bbc69e8dcb397094c165e97946d4d2688f34ad
Reviewed-on: https://go-review.googlesource.com/19872
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants