summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 367f21a..17c10bc 100644
--- a/structs.go
+++ b/structs.go
@@ -10,6 +10,10 @@ import (
"go.wit.com/widget"
)
+// this is the root node of the binary tree
+// There is only one of these per application
+var treeRoot *Node
+
type TreeInfo struct {
PluginName string
@@ -20,7 +24,6 @@ type TreeInfo struct {
// this is the channel we get requests to make widgets
pluginChan chan widget.Action
- treeRoot *Node
// NodeI interface{}
// ActionFromChannel func(widget.Action)