diff options
| author | Jeff Carr <[email protected]> | 2021-10-09 10:46:57 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-09 10:46:57 -0500 |
| commit | e002f833209109763e9df90d91b9ef0f498b22b5 (patch) | |
| tree | 6dca61decdf3d339c712381f940051043ffcb3b3 /window.go | |
| parent | e45a106d95e3043828735cf76aa487af837a2137 (diff) | |
NODE: climbing up the rabbit hole
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -214,7 +214,7 @@ func CreateWindow(title string, tabname string, x int, y int, custom func() ui.C log.Println("SERIOUS ERROR n.box == nil in CreateWindow()") log.Println("SERIOUS ERROR n.box == nil in CreateWindow()") } - n.AddTab(title) + n.AddTab(title, custom()) // TODO: run custom() here // Oct 9 return n } @@ -319,7 +319,7 @@ func CreateBlankWindow(title string, x int, y int) *Node { return node } -func initBlankWindow() ui.Control { +func (n *Node) initBlankWindow() ui.Control { hbox := ui.NewHorizontalBox() hbox.SetPadded(true) |
