diff options
| author | Jeff Carr <[email protected]> | 2023-04-23 07:37:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-23 07:37:24 -0500 |
| commit | 2d4d2b6b3e115a86a10f98c20de0e4e82be519c2 (patch) | |
| tree | 4cab36495872e70220e47b1790189249c3e2bcdc /toolkit | |
| parent | aeb998eea5ef67c1c87664340b89b5e415fb0747 (diff) | |
actually ran again without crashing
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit')
| -rw-r--r-- | toolkit/andlabs/plugin.go | 5 | ||||
| -rw-r--r-- | toolkit/widget.go | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/toolkit/andlabs/plugin.go b/toolkit/andlabs/plugin.go index 15e9396..f9befd5 100644 --- a/toolkit/andlabs/plugin.go +++ b/toolkit/andlabs/plugin.go @@ -18,12 +18,13 @@ import "git.wit.org/wit/gui/toolkit" // // TODO: make sure you can't escape this goroutine // +/* func Send(p *toolkit.Widget, c *toolkit.Widget) { log(debugPlugin, "Send() goodbye. not used anymore") } +*/ - -func oldAction(a *toolkit.Action) { +func oldAction2(a *toolkit.Action) { log(logNow, "Action() START") if (a == nil) { log(debugPlugin, "Action = nil") diff --git a/toolkit/widget.go b/toolkit/widget.go index 21f2f47..658475e 100644 --- a/toolkit/widget.go +++ b/toolkit/widget.go @@ -18,7 +18,7 @@ type ActionType int // I'm using "Action". Maybe it should really be // "Interaction" as per wikipedia [[User interface]] // Could a protobuf be used here? (Can functions be passed?) -type Widget struct { +type Widget2 struct { // Name string Type WidgetType |
