diff options
| author | Pietro Gagliardi <[email protected]> | 2015-12-12 19:52:22 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-12-12 19:52:22 -0500 |
| commit | 3734c3e552d59ad084ffdf0b1888477476da60ef (patch) | |
| tree | b95514b985ae6a788e38db9b637b0b98b5876bda /zz_test.go | |
| parent | bb6cb14569ced2141a7f8ea9818f354765ff79f0 (diff) | |
Added Tab. That just leaves Box...
Diffstat (limited to 'zz_test.go')
| -rw-r--r-- | zz_test.go | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -11,14 +11,12 @@ func TestIt(t *testing.T) { Quit() return true }) - s := NewGroup("Group") - w.SetChild(s) + t := NewTab() + w.SetChild(t) w.SetMargined(true) - b := NewButton("Click Me") - b.OnClicked(func(*Button) { - s.SetMargined(!s.Margined()) - }) - s.SetChild(b) + t.Append("First Page", NewButton("Click Me")) + t.Append("Second Page", NewButton("Click Me Too")) + t.SetMargined(0, true) w.Show() }) if err != nil { |
