diff options
| author | Jeff Carr <[email protected]> | 2021-10-09 07:13:58 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-09 07:13:58 -0500 |
| commit | e45a106d95e3043828735cf76aa487af837a2137 (patch) | |
| tree | 443cc8be2244c1caa5a0371ad78ace8210ba601c /structs.go | |
| parent | 663b031c8f22f3c58de29410c9764abf2f29b095 (diff) | |
NODE: walking around in the rabbit hole
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -186,32 +186,6 @@ func (s GuiBox) Append(child ui.Control, x bool) { s.UiBox.Append(child, x) } -/* -func (s GuiBox) InitTab(title string, custom func() ui.Control) *Node { - if s.Window == nil { - return nil - } - if s.Window.UiWindow == nil { - return nil - } - - window := s.Window.UiWindow - tab := ui.NewTab() - window.SetChild(tab) - window.SetMargined(true) - - tab.Append(title, custom()) - tab.SetMargined(0, true) - // tab.SetMargined(1, true) - - s.Window.UiTab = tab - if s.node == nil { - log.Println("Fuck node = ", s.node) - os.Exit(-1) - } - return s.node -} -*/ func (s *GuiBox) AddTab(title string, custom ui.Control) *ui.Tab { if s.Window == nil { |
