Documentation ¶
Index ¶
- Variables
- func FlutterEngineRun()
- func FlutterEngineSendPlatformMessage(ch string, msg []byte)
- func FlutterEngineSendPointerEvent(phase C.FlutterPointerPhase, x int, y int)
- func FlutterEngineSendPointerScrollEvent(x int, y int, xd int, yd int)
- func FlutterEngineSendWindowMetricsEvent(w, h int)
- func MoveToCurrentThread(ctx *gui.QOpenGLContext)
- func MoveToMainThread(ctx *gui.QOpenGLContext)
- func RunOnMainBlocking(f func())
- type FlutterWidget
Constants ¶
This section is empty.
Variables ¶
View Source
var ( USE_ALTERNATIVE_OFFSCREEN_RENDERING = (runtime.GOOS == "windows" && os.Getenv("QT_ALT_RENDERING") != "false") || os.Getenv("QT_ALT_RENDERING") == "true" DEBUG = DEBUG_HOT || false DEBUG_HOT = false IGNORE_THREADS = true //TODO: make resizing thread safe; (race condition with the flutter and the main thread sharing the widgets openglcontext) TEST_RESIZING = false )
Functions ¶
func FlutterEngineRun ¶
func FlutterEngineRun()
func FlutterEngineSendPointerEvent ¶
func FlutterEngineSendPointerEvent(phase C.FlutterPointerPhase, x int, y int)
func FlutterEngineSendWindowMetricsEvent ¶
func FlutterEngineSendWindowMetricsEvent(w, h int)
func MoveToCurrentThread ¶
func MoveToCurrentThread(ctx *gui.QOpenGLContext)
func MoveToMainThread ¶
func MoveToMainThread(ctx *gui.QOpenGLContext)
func RunOnMainBlocking ¶
func RunOnMainBlocking(f func())
Types ¶
type FlutterWidget ¶
type FlutterWidget struct{ *widgets.QOpenGLWidget }
func NewFlutterWidget ¶
func NewFlutterWidget(parent widgets.QWidget_ITF) *FlutterWidget
Click to show internal directories.
Click to hide internal directories.