diff options
| author | Jeff Carr <[email protected]> | 2023-04-27 09:47:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-27 09:47:31 -0500 |
| commit | a0d0a93f7f7131f6ef50ebbe4bad9a57f2e1245d (patch) | |
| tree | 1eab840434d0637e35087d59bb593ee6c7b132e1 /toolkit/andlabs/tab.go | |
| parent | 8d8aabd1c86399603347d24f9060ed311d66153c (diff) | |
andlabs: more into the binary tree
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/tab.go')
| -rw-r--r-- | toolkit/andlabs/tab.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/andlabs/tab.go b/toolkit/andlabs/tab.go index 42743de..1a05f58 100644 --- a/toolkit/andlabs/tab.go +++ b/toolkit/andlabs/tab.go @@ -20,7 +20,6 @@ import ( any existing tabs rather than adding a new one */ func (p *node) newTab(n *node) { - // var w *ui.Window var newt *andlabsT t := p.tk @@ -58,6 +57,7 @@ func (p *node) newTab(n *node) { t.Dump(debugToolkit) log(debugToolkit, "newt:") newt.Dump(debugToolkit) + n.tk = newt } // This sets _all_ the tabs to Margin = true @@ -120,9 +120,11 @@ func (t *andlabsT) appendTab(name string) *andlabsT { return &newT } +/* func newTab(n *node) { log(logInfo, "newTab() add to parent id:", n.ParentId) p := n.parent p.newTab(n) } +*/ |
