Added a toggle button and lamp pattern

This commit is contained in:
Sasha Koshka
2023-04-20 18:40:05 -04:00
parent e5619ebf07
commit 2bd7d0fad5
8 changed files with 308 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ func run () {
container.Adopt(elements.NewSwitch("hahahah", false))
container.Adopt(elements.NewSwitch("hehehehheheh", false))
container.Adopt(elements.NewSwitch("you can flick da swicth", false))
container.Adopt(elements.NewToggleButton("like a switch, but not", false))
window.OnClose(tomo.Stop)
window.Show()