summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 09:04:38 -0600
committerJeff Carr <[email protected]>2024-02-05 09:04:38 -0600
commite317478e6a568a380bf5f0459f66ca4d08db9ea7 (patch)
tree5092e17540269fe4cd5454698a72e6795c379466 /main.go
parentcf72809e26d25380be0e9a05f81c8780f7538d37 (diff)
compiles. slightly works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/main.go b/main.go
index 0a73e49..46cb848 100644
--- a/main.go
+++ b/main.go
@@ -27,12 +27,14 @@ func init() {
me.myTree = tree.New()
me.myTree.PluginName = "gocui"
me.myTree.ActionFromChannel = action
- // me.myTree.NodeAction = nodeaction
-
- // pluginChan = make(chan widget.Action)
+ me.myTree.NodeAction = newaction
+ me.myTree.Add = newAdd
+ me.myTree.SetTitle = newSetTitle
+ me.myTree.SetLabel = newSetLabel
+ me.myTree.SetText = newSetText
+ me.myTree.AddText = newAddText
log.Log(NOW, "Init() start pluginChan")
- // go catchActionChannel()
log.Sleep(.1) // probably not needed, but in here for now under development
go mainGogui()
log.Sleep(.1) // probably not needed, but in here for now under development