summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 15:03:11 -0600
committerJeff Carr <[email protected]>2024-02-05 15:03:11 -0600
commitd92457087cb2bdb70c389699e5353187970336dc (patch)
tree6d66039e1382dbbb24a14a0bd5fc54e95c9b43b5 /structs.go
parent0f178bfaed2962ad4b0e19c4590c346d4e68c5d4 (diff)
need protobuf herev0.20.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/structs.go b/structs.go
index 9465c70..e807e0d 100644
--- a/structs.go
+++ b/structs.go
@@ -11,7 +11,7 @@ import (
)
type TreeInfo struct {
- PluginName string
+ PluginName string
// this is the channel we send user events like
// mouse clicks or keyboard events back to the program
@@ -20,16 +20,16 @@ type TreeInfo struct {
// this is the channel we get requests to make widgets
pluginChan chan widget.Action
- treeRoot *Node
+ treeRoot *Node
// NodeI interface{}
// ActionFromChannel func(widget.Action)
NodeAction func(*Node, widget.ActionType)
- Add func(*Node)
- AddText func(*Node, string)
- SetText func(*Node, string)
- SetTitle func(*Node, string)
- SetLabel func(*Node, string)
+ Add func(*Node)
+ AddText func(*Node, string)
+ SetText func(*Node, string)
+ SetTitle func(*Node, string)
+ SetLabel func(*Node, string)
}
type Node struct {