andlabs-ui/main.go

15 lines
189 B
Go
Raw Normal View History

// 11 february 2014
package main
func main() {
w := NewWindow("Main Window")
w.Closing = make(chan struct{})
err := w.Open()
if err != nil {
panic(err)
}
<-w.Closing
w.Close()
}