Support menus and object properties

This commit is contained in:
James Westman 2021-10-24 13:16:33 -05:00
parent b00401d53f
commit 7cf3c0bfb1
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
4 changed files with 159 additions and 15 deletions

View file

@ -44,6 +44,17 @@ class TestParser(unittest.TestCase):
}
}
menu my_menu {
section {
item {
label: "Run";
target: "run";
}
}
submenu {}
item _("Copy") copy-symbolic app.copy;
}
Label {
style "dim-label", "my-class";
label: "Text";