summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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