blueprint-compiler/tests/samples/menu.blp
James Westman 878ff1b37b
Change menu item shorthand syntax
I'm changing the syntax a bit because I want it to be more general in
the future.
2021-11-28 23:01:51 -06:00

20 lines
355 B
Text

using Gtk 4.0;
menu {
label: _("menu label");
test-custom-attribute: 3.1415;
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")
}
}