diff options
| author | Jeff Carr <[email protected]> | 2021-10-31 14:21:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-31 14:21:36 -0500 |
| commit | 213c7d153b06d3e1211d1cdeae1e4f7833cb89f7 (patch) | |
| tree | 53b489c9df4ea1784be0d626df1497b04183c9be /main.go | |
| parent | 36e2c6d2e3c266f32325985e98c3776755fdd511 (diff) | |
REFACTOR: refactor everything to gui.Node structv0.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 28 |
1 files changed, 6 insertions, 22 deletions
@@ -12,7 +12,7 @@ func Main(f func()) { ui.Main(f) } -// Other goroutines must use this +// Other goroutines must use this to access the GUI // // You can not acess / process the GUI thread directly from // other goroutines. This is due to the nature of how @@ -23,28 +23,12 @@ func Queue(f func()) { ui.QueueMain(f) } +/* func ExampleWindow() { log.Println("START gui.ExampleWindow()") - title := "Test Window" - box := InitWindow(nil, title, 0) - window := box.Window - log.Println("box =", box) - log.Println("window =", window) - box.AddDebugTab("jcarr Debug") - - window.UiWindow.Show() -} - -func DebugWindow() { - log.Println("START gui.ExampleWindow()") - - title := "Debug Window" - box := InitWindow(nil, title, 0) - window := box.Window - log.Println("box =", box) - log.Println("window =", window) - box.AddDebugTab("jcarr Debug") - - window.UiWindow.Show() + Config.Title = "ExampleWindow" + node := NewWindow() + node.AddDebugTab("jcarr Debug") } +*/ |
