export the demo()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-12 18:54:25 -07:00
parent 27b26ea5b7
commit f97231d4f7
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import _ "github.com/andlabs/ui/winmanifest"
var demowin *ui.Window var demowin *ui.Window
var demotab *ui.Tab var demotab *ui.Tab
func setupDemoUI() { func SetupDemoUI() {
log.Println("setupDemoUI() START") log.Println("setupDemoUI() START")
demowin = ui.NewWindow("Demo GUI Widgets", 500, 300, false) demowin = ui.NewWindow("Demo GUI Widgets", 500, 300, false)
demowin.OnClosing(func(*ui.Window) bool { demowin.OnClosing(func(*ui.Window) bool {