diff options
| author | Jeff Carr <[email protected]> | 2021-11-04 05:46:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-11-04 05:46:49 -0500 |
| commit | f5fa56cddcd2bb50d7a37637d1e8e056bfeea113 (patch) | |
| tree | be65237490f67f16a7a1ab213a2b28976af0a374 /window.go | |
| parent | 98adddc996077f4ce6db4d3be949a96829ccb4f6 (diff) | |
SMALL: some stuff hanging around
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -86,7 +86,7 @@ func (n *Node) AddNode(title string) *Node { } func (n *Node) uiNewWindow(title string, x int, y int) { - w := ui.NewWindow(title, x, y, false) + w := ui.NewWindow(title, x, y, Config.Menu) w.SetBorderless(false) f := Config.Exit w.OnClosing(func(*ui.Window) bool { @@ -126,6 +126,9 @@ func mapWindow(parent *Node, window *ui.Window, title string, x int, y int) *Nod // it can be passed via the 'andlabs/ui' queue which, because it is // cross platform, must pass UI changes into the OS threads (that is // my guess). +// +// There is probably some way to pass arguements here that I'm can't think of right now +// func NewWindow() *Node { title := Config.Title w := Config.Width |
