diff options
| author | Jeff Carr <[email protected]> | 2022-11-14 14:30:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-11-14 14:30:28 -0600 |
| commit | 355e5ec968427c2b07b78fec12224f31a65df740 (patch) | |
| tree | 99754f9f6888c166a435d14e3a71cc9304f14970 /README-goreadme.md | |
| parent | 207cf7ea16f1da8fa9f893504d77a2856298cc22 (diff) | |
setup building without plugins on windowsv0.5.1
notes from github remote
keep removing os.Exit()
rename from andlabs2 back to andlabs
rename files for windows andlabs/ui
gocui always sets STDOUT a file in /tmp/
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'README-goreadme.md')
| -rw-r--r-- | README-goreadme.md | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/README-goreadme.md b/README-goreadme.md index c48da62..5125d3d 100644 --- a/README-goreadme.md +++ b/README-goreadme.md @@ -128,11 +128,11 @@ Creates a window helpful for debugging this package This creates a window that shows how this package works -### func [GetDebug](/structs.go#L25) +### func [GetDebug](/structs.go#L23) `func GetDebug() bool` -### func [GetDebugToolkit](/structs.go#L37) +### func [GetDebugToolkit](/structs.go#L34) `func GetDebugToolkit() bool` @@ -140,7 +140,7 @@ This creates a window that shows how this package works `func GolangDebugWindow()` -### func [IndentPrintln](/structs.go#L188) +### func [IndentPrintln](/structs.go#L159) `func IndentPrintln(a ...interface{})` @@ -160,15 +160,26 @@ loads and initializes a toolkit (andlabs/ui, gocui, etc) This should not pass a function -### func [SetDebug](/structs.go#L29) +### func [Queue](/main.go#L115) + +`func Queue(f func())` + +Other goroutines must use this to access the GUI + +You can not acess / process the GUI thread directly from +other goroutines. This is due to the nature of how +Linux, MacOS and Windows work (they all work differently. suprise. surprise.) +For example: gui.Queue(NewWindow()) + +### func [SetDebug](/structs.go#L27) `func SetDebug(s bool)` -### func [SetDebugToolkit](/structs.go#L41) +### func [SetDebugToolkit](/structs.go#L38) `func SetDebugToolkit(s bool)` -### func [ShowDebugValues](/structs.go#L45) +### func [ShowDebugValues](/structs.go#L42) `func ShowDebugValues()` @@ -195,7 +206,7 @@ This goroutine can be used like a watchdog timer ## Types -### type [GuiConfig](/structs.go#L68) +### type [GuiConfig](/structs.go#L65) `type GuiConfig struct { ... }` @@ -205,13 +216,13 @@ This goroutine can be used like a watchdog timer var Config GuiConfig ``` -### type [GuiDebug](/structs.go#L56) +### type [GuiDebug](/structs.go#L53) `type GuiDebug struct { ... }` This struct can be used with go-arg -### type [Node](/structs.go#L87) +### type [Node](/structs.go#L84) `type Node struct { ... }` |
