diff options
| author | Jeff Carr <[email protected]> | 2021-10-25 09:34:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-25 09:34:31 -0500 |
| commit | fa02db9a5ad91d98f357b5b5d3553150953a8ced (patch) | |
| tree | cdb61c9067305154ddba76bd23ec3acc73d4a081 /new-structs.go | |
| parent | 6ebcfddf859306a5b41acb1a7c8856c351b556ee (diff) | |
NODE: minimal debug tab
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new-structs.go')
| -rw-r--r-- | new-structs.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/new-structs.go b/new-structs.go index e86bb53..92933ed 100644 --- a/new-structs.go +++ b/new-structs.go @@ -209,7 +209,8 @@ func (parent *Node) AddTabNode(title string, b *GuiBox) *Node { return newNode } -func (parent *Node) AddTab(title string, uiC ui.Control) *Node { +// func (parent *Node) AddTab(title string, uiC ui.Control) *Node { +func (parent *Node) AddTab(title string, uiC *ui.Box) *Node { log.Println("gui.Node.AddTab() START name =", title) if parent.uiWindow == nil { parent.Dump() @@ -243,6 +244,7 @@ func (parent *Node) AddTab(title string, uiC ui.Control) *Node { // panic("gui.AddTab() before makeNode()") newNode := parent.makeNode(title, 555, 600 + Config.counter) newNode.uiTab = tab + newNode.uiBox = uiC // panic("gui.AddTab() after makeNode()") return newNode } |
