From 09a42e0c344ce4c23918c305f7d27ad44116ba8e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 11 Feb 2014 18:57:03 -0500 Subject: Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works... --- main.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 main.go (limited to 'main.go') 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() +} + -- cgit v1.2.3