func (gui *Gui) createWindow(comp qml.Object) *qml.Window { gui.win = comp.CreateWindow(nil) gui.uiLib.win = gui.win return gui.win }