summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..a20a745
--- /dev/null
+++ b/main.go
@@ -0,0 +1,11 @@
+// 11 february 2014
+package main
+
+func main() {
+ w := NewWindow("Main Window")
+ w.Closing = make(chan struct{})
+ w.Open()
+ <-w.Closing
+ w.Close()
+}
+