As the title said, it is not possible to interact with parent window while child window is showing.
(Part of my code. There are many other widgets on parent window)
win := wui.NewWindow()
win.SetFont(winFont)
win.SetTitle("Window")
...
openLogBtn := wui.NewButton()
openLogBtn.SetBounds(15, 91, 85, 25)
openLogBtn.SetText("View Logs")
openLogBtn.SetEnabled(false)
openLogBtn.SetOnClick(func() {
viewer := wui.NewWindow()
viewer.SetFont(winFont)
viewer.SetTitle("Log Viewer")
viewer.SetHeight(800)
viewer.SetWidth(600)
textedit := wui.NewTextEdit()
textedit.SetAnchors(wui.AnchorMinAndMax, wui.AnchorMinAndMax)
textedit.SetBounds(0, 0, 600, 800)
textedit.SetText("...")
viewer.Add(textedit)
viewer.ShowModal()
})
win.Add(openLogBtn)
win.Show()
Is it possible to interact with two windows at the same time?
As the title said, it is not possible to interact with parent window while child window is showing.
(Part of my code. There are many other widgets on parent window)
Is it possible to interact with two windows at the same time?