blueprint-compiler/tests/samples/menu.blp
James Westman 51d8969ced
Fix menus
- Menus require an ID
- The top level menu block can't have attributes
2022-12-19 15:15:25 -06:00

17 lines
303 B
Text

using Gtk 4.0;
menu my-menu {
submenu {
section {
label: "test section";
}
item {
label: "test item";
}
item ("test item shorthand 1")
item ("test item shorthand 2", "app.test-action")
item ("test item shorthand 3", "app.test-action", "test-symbolic")
}
}