diff options
| -rw-r--r-- | demo.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -38,3 +38,10 @@ func SetupDemoUI() { demowin.Show() } + +func CloseDemoUI() { + if demowin != nil { + demowin.Destroy() + } + demowin = nil +} |
![]() |
index : go.wit.com/gui.git | |
| Unnamed repository; edit this file 'description' to name the repository. |
| summaryrefslogtreecommitdiff |
| -rw-r--r-- | demo.go | 7 |
@@ -38,3 +38,10 @@ func SetupDemoUI() { demowin.Show() } + +func CloseDemoUI() { + if demowin != nil { + demowin.Destroy() + } + demowin = nil +} |