Example files now reflect new API change

This commit is contained in:
2023-01-30 17:25:09 -05:00
parent 801c3ef6f5
commit 58c3b23a99
6 changed files with 12 additions and 12 deletions

View File

@@ -25,14 +25,14 @@ func run () {
container.Adopt(basic.NewLabel("Draw here:", false), false)
container.Adopt(testing.NewMouse(), true)
container.Adopt(okButton, false)
okButton.Select()
okButton.Focus()
})
okButton.OnClick(tomo.Stop)
container.Adopt(label, true)
container.Adopt(button, false)
container.Adopt(okButton, false)
okButton.Select()
okButton.Focus()
window.OnClose(tomo.Stop)
window.Show()