Files
gio/app/app_android.go
T
Elias Naur 7059b6284a app/internal/wm: rename confusing app/internal/window
Package wm (for "window manager") is a better fit for the package, and
distinguishes it from the low-level package windows for the Windows API.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2021-03-06 14:28:57 +01:00

21 lines
347 B
Go

// SPDX-License-Identifier: Unlicense OR MIT
package app
import (
"gioui.org/app/internal/wm"
)
type ViewEvent = wm.ViewEvent
// JavaVM returns the global JNI JavaVM.
func JavaVM() uintptr {
return wm.JavaVM()
}
// AppContext returns the global Application context as a JNI
// jobject.
func AppContext() uintptr {
return wm.AppContext()
}