MCPcopy
hub / github.com/go-qml/qml / run

Function run

examples/controls/touch/touch.go:16–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16func run() error {
17 engine := qml.NewEngine()
18
19 controls, err := engine.LoadFile("main.qml")
20 if err != nil {
21 return err
22 }
23
24 window := controls.CreateWindow(nil)
25
26 window.Show()
27 window.Wait()
28 return nil
29}

Callers

nothing calls this directly

Calls 4

LoadFileMethod · 0.95
ShowMethod · 0.80
WaitMethod · 0.80
CreateWindowMethod · 0.65

Tested by

no test coverage detected