diff options
| author | Pietro Gagliardi <[email protected]> | 2015-12-12 15:52:43 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-12-12 15:52:43 -0500 |
| commit | 69cc82336897f62c25aabe6d7fdcc39e74dbe42c (patch) | |
| tree | ecc9d929d8a5cce7dc8aeb94d13ba6304f8500ff /zz_test.go | |
| parent | 31ae742daf04c6bc5a79ff9fc339fa00ebc2b620 (diff) | |
Added Button and Checkbox.
Diffstat (limited to 'zz_test.go')
| -rw-r--r-- | zz_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,11 @@ func TestIt(t *testing.T) { Quit() return true }) + c := NewCheckbox("Click Me") + c.OnToggled(func(c *Checkbox) { + w.SetMargined(c.Checked()) + }) + w.SetChild(c) w.Show() }) if err != nil { |
