summaryrefslogtreecommitdiff
path: root/group.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
committerJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
commit355e5ec968427c2b07b78fec12224f31a65df740 (patch)
tree99754f9f6888c166a435d14e3a71cc9304f14970 /group.go
parent207cf7ea16f1da8fa9f893504d77a2856298cc22 (diff)
setup building without plugins on windowsv0.5.1
notes from github remote keep removing os.Exit() rename from andlabs2 back to andlabs rename files for windows andlabs/ui gocui always sets STDOUT a file in /tmp/ Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'group.go')
-rw-r--r--group.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/group.go b/group.go
index d82e99a..a0fbe60 100644
--- a/group.go
+++ b/group.go
@@ -2,24 +2,15 @@ package gui
import "log"
-// import toolkit "git.wit.org/wit/gui/toolkit/andlabs"
-// import newtoolkit "git.wit.org/wit/gui/toolkit"
-
// TODO: which name is better. AddGroup or NewGroup ?
// first reaction is NewGroup
func (n *Node) NewGroup(name string) *Node {
-// var newT *toolkit.Toolkit
var newNode *Node
if (GetDebug()) {
log.Println("toolkit.NewGroup() START", name)
}
-// if (n.toolkit == nil) {
-// log.Println("toolkit.NewGroup() toolkit == nil")
-// panic("toolkit should never be nil")
-// }
-
newNode = n.New(name)
log.Println("gui.Node.NewGroup()", name)
@@ -31,16 +22,5 @@ func (n *Node) NewGroup(name string) *Node {
aplug.NewGroup(&n.Widget, &newNode.Widget)
}
- // make a *Node with a *toolkit.Group
- // newT = n.toolkit.NewGroup(name)
- // newNode.toolkit = newT
- // newNode.Dump()
-
return newNode
}
-
-/*
-func (n *Node) AddGroup(title string) *Node {
- return n.NewGroup(title + " deprecated AddGroup")
-}
-*/