trying to impement a menu bar

This commit is contained in:
neon443
2025-05-21 20:50:53 +01:00
parent 389fdf6812
commit 74ef5db2cf
3 changed files with 19 additions and 2 deletions

View File

@@ -43,6 +43,11 @@ struct NearFutureApp: App {
.defaultSize(width: 550, height: 650)
.commands {
NearFutureCommands()
Menu("hi") {
Button("hi") {
}
}
}
Window("About Near Future", id: "about") {