diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 04:08:11 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 04:08:11 -0600 |
| commit | a78eadea024c2b283b45f1711aeda39d60deab22 (patch) | |
| tree | 9bc410a7fa97ffa03fcb918efe8b477f864c2865 /structs.go | |
| parent | 3ea3dd10db0e728240fc659bdd33c622d33e46b4 (diff) | |
pathsv0.0.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -13,12 +13,12 @@ package tree import ( // "go.wit.com/log" - "go.wit.com/lib/widget" + "go.wit.com/widget" ) // var me *TreeInfo -type TreeInfo struct { +type TreeInfo struct { // this is the channel we send user events like // mouse clicks or keyboard events back to the program callback chan widget.Action @@ -26,21 +26,21 @@ 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) () - PluginName string + treeRoot *Node + NodeI interface{} + ActionFromChannel func(widget.Action) + PluginName string } type Node struct { - Parent *Node + Parent *Node children []*Node - WidgetId int // widget ID - WidgetType widget.WidgetType - ParentId int // parent ID + WidgetId int // widget ID + WidgetType widget.WidgetType + ParentId int // parent ID - State widget.State + State widget.State Strings map[string]int |
