<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[~/go/src/golang.org/x/mobile/example/basic]
$ go run main.go
# golang.org/x/mobile/app
..\..\app\shiny.go:42: w.Events undefined (type screen.Window has no field or method Events)"><pre class="notranslate"><code class="notranslate">[~/go/src/golang.org/x/mobile/example/basic]
$ go run main.go
# golang.org/x/mobile/app
..\..\app\shiny.go:42: w.Events undefined (type screen.Window has no field or method Events)
</code></pre></div>
<p dir="auto">In shiny.go:  <a href="https://github.com/golang/mobile/blob/master/app/shiny.go">https://github.com/golang/mobile/blob/master/app/shiny.go</a></p>
<p dir="auto">w.Events line 42 throws an error because Events does not exist in the Window interface : <a href="https://github.com/golang/exp/blob/master/shiny/screen/screen.go">https://github.com/golang/exp/blob/master/shiny/screen/screen.go</a></p>
<blockquote>
<p dir="auto">..\golang.org\x\mobile\app\shiny.go:42: w.Events undefined (type screen.Window has no field or method Events)</p>
</blockquote>
<p dir="auto">This was caught while trying to run the basic mobile example on Windows 10 64 bit.</p>