From f65d80862e9ef92ab8b36829342a6738cbc4b5d5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 4 Mar 2025 01:57:59 -0600 Subject: fyne changes to see if it can work --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 018b9ce..e5fc023 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,18 @@ -# nogui +# fyne Package gui implements a abstraction layer for Go visual elements. This is a sample plugin. It's a skeleton intended to be used when making a new toolkit plugin. + +fyne appears to require: + runtime.LockOSThread() // Ensure main stays on one OS thread + a := app.New() + w := a.NewWindow("Fyne Plugin Fix") + w.ShowAndRun() + +error: +gui doing TestDraw() Forge: (this kinda works sometimes) +panic: Run() or ShowAndRun() must be called from main goroutine + +so for fyne to work, there must be a protocol buffer GO GUI plugin first that +can spawn and talk to fyne -- cgit v1.2.3