Wrap menu support

This commit is contained in:
Ollie Charles
2021-01-24 16:49:28 +00:00
parent 4f9a552a32
commit bc4b74cfea
2 changed files with 80 additions and 0 deletions

11
Main.hs
View File

@ -65,6 +65,17 @@ loop w checked = do
selectable "Testing 2"
endCombo
beginMainMenuBar >>= whenTrue do
beginMenu "Hello" >>= whenTrue do
menuItem "Hello"
endMenu
beginMenu "World" >>= whenTrue do
menuItem "World"
endMenu
endMainMenuBar
end
render