diff options
| author | Pietro Gagliardi <[email protected]> | 2015-12-12 13:37:36 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-12-12 13:37:36 -0500 |
| commit | 31ae742daf04c6bc5a79ff9fc339fa00ebc2b620 (patch) | |
| tree | 2b4fde84ef9c4d6a3a9bfdce3f2b22f6fb12bfa2 /zz_test.go | |
| parent | a181d36b5848a826b904ac06c56f961cb88c5878 (diff) | |
Added uiWindow.
Diffstat (limited to 'zz_test.go')
| -rw-r--r-- | zz_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,8 +6,12 @@ import "testing" func TestIt(t *testing.T) { err := Main(func() { - t.Log("we're here") - Quit() + w := NewWindow("Hello", 320, 240, false) + w.OnClosing(func(w *Window) bool { + Quit() + return true + }) + w.Show() }) if err != nil { t.Fatal(err) |
