StageFocused means that the app window has the focus.
- A positive cross means that the app window has gained the focus. - A negative cross means that the app window has lost the focus.
On Android, these correspond to onResume and onFreeze.
case StageVisible: return "StageVisible" case StageFocused: return "StageFocused" default:
// TODO: send lifecycle events when e.g. the X11 window is iconified or moved off-screen. theApp.sendLifecycle(lifecycle.StageFocused) // TODO: translate X11 expose events to shiny paint events, instead of
StageFocused is referenced in 6 repositoriesgithub.com/golang/mobile go.googlesource.com/mobile
- 1 reference in app/x11.go
- 1 reference in src/golang.org/x/mobile/app/x11.go