diff options
| author | Jeff Carr <[email protected]> | 2022-10-20 06:55:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-10-20 06:55:42 -0500 |
| commit | b8ef0bb05dc14bc4291f3d156b199fa125cdb9d7 (patch) | |
| tree | 71280d7f01805dfbd430f71df16858079686b8fc /group.go | |
| parent | f3af1f5b7ff78b3f73d7510622fc9633dec36d35 (diff) | |
Squashed commit of the following:
all non binary tree structs are gone (almost all)
Use names from https://en.wikipedia.org/wiki/Graphical_widget
toolkit andlabs/ui is isolated from being accessable
all direct references to andlabs are removed
working dropdown widgets
add debugging more buttons and windows
Diffstat (limited to 'group.go')
| -rw-r--r-- | group.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -11,15 +11,15 @@ func (n *Node) NewGroup(name string) *Node { var gNode *Node log.Println("toolkit.NewGroup() START", name) - if (n.Toolkit == nil) { - log.Println("toolkit.NewGroup() Toolkit == nil") - panic("Toolkit should never be nil") + if (n.toolkit == nil) { + log.Println("toolkit.NewGroup() toolkit == nil") + panic("toolkit should never be nil") } // make a *Node with a *toolkit.Group gNode = n.New(name + " part1") - newT = n.Toolkit.NewGroup(name) - gNode.Toolkit = newT + newT = n.toolkit.NewGroup(name) + gNode.toolkit = newT log.Println("################## gNode ####### ", name) gNode.Dump() @@ -27,5 +27,5 @@ func (n *Node) NewGroup(name string) *Node { } func (n *Node) AddGroup(title string) *Node { - return n.NewGroup(title + "deprecated AddGroup") + return n.NewGroup(title + " deprecated AddGroup") } |
