diff options
| author | Jeff Carr <[email protected]> | 2019-05-15 11:03:42 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-15 11:03:42 -0700 |
| commit | 6a9ff162d9230c4ef32498518cb384e3fc1820c9 (patch) | |
| tree | 6e6a3048123e597a979fbdd2f7a3ee402588dd2e /demo.go | |
| parent | 20a71cca67b8eabd8716728b89e5c109e33d12cf (diff) | |
start working on a VM window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'demo.go')
| -rw-r--r-- | demo.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -12,11 +12,16 @@ func SetupDemoUI() { log.Println("setupDemoUI() START") demowin = ui.NewWindow("Demo GUI Widgets", 500, 300, false) demowin.OnClosing(func(*ui.Window) bool { - // ui.Quit() +// if demowin != nil { +// demowin.Destroy() +// } +// // ui.Quit() +// demowin = nil return true }) ui.OnShouldQuit(func() bool { demowin.Destroy() + demowin = nil return true }) |
