diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-30 22:48:12 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-30 22:48:12 -0400 |
| commit | ffa1bbe0b91a8c812ddcea5c5d65e55f60d07f33 (patch) | |
| tree | 000fadd9af11843d92e7f0eee49fa90cca1379cd /test/spacing.go | |
| parent | 990d50e9a153681a091a23734f8962e728fde1b0 (diff) | |
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
Diffstat (limited to 'test/spacing.go')
| -rw-r--r-- | test/spacing.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/spacing.go b/test/spacing.go index 367b0be..610115f 100644 --- a/test/spacing.go +++ b/test/spacing.go @@ -41,14 +41,13 @@ func spaceTest() { a2 := NewArea(w, h, ah) a3 := NewArea(w, h, ah) a4 := NewArea(w, h, ah) - win := NewWindow("Stack", 250, 250) + win := NewWindow("Stack", 250, 250, nullwinhandler{}) win.SetSpaced(true) win.Open(f(a1, a2)) - win = NewWindow("Grid", 250, 250) + win = NewWindow("Grid", 250, 250, nullwinhandler{}) win.SetSpaced(true) g := NewGrid(ng, a3, a4) g.SetFilling(0, 0) g.SetStretchy(gsx, gsy) win.Open(g) - select {} } |
