Applied previous commit's change to the test program.
This commit is contained in:
parent
ac5c577507
commit
585f5f5b62
|
@ -98,7 +98,7 @@ func (tw *testwin) make(done chan struct{}) {
|
||||||
})
|
})
|
||||||
tw.t.Append("Button", tw.b)
|
tw.t.Append("Button", tw.b)
|
||||||
tw.c = NewCheckbox("You Should Now See Me Instead")
|
tw.c = NewCheckbox("You Should Now See Me Instead")
|
||||||
tw.c.OnClicked(func() {
|
tw.c.OnToggled(func() {
|
||||||
tw.w.SetTitle(fmt.Sprint(tw.c.Checked()))
|
tw.w.SetTitle(fmt.Sprint(tw.c.Checked()))
|
||||||
})
|
})
|
||||||
tw.t.Append("Checkbox", tw.c)
|
tw.t.Append("Checkbox", tw.c)
|
||||||
|
|
Loading…
Reference in New Issue