diff options
| author | Jeff Carr <[email protected]> | 2025-03-04 01:57:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-04 01:57:59 -0600 |
| commit | f65d80862e9ef92ab8b36829342a6738cbc4b5d5 (patch) | |
| tree | f8733a57b92c35d7d634e91a60aee98a549d6fa1 /README.md | |
| parent | dcd32c255c4c4a7b31ebc2395a541704a753a092 (diff) | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |
