export the demo()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
27b26ea5b7
commit
f97231d4f7
2
demo.go
2
demo.go
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue