decompiler: Support list accessibility properties

This commit is contained in:
James Westman 2024-08-23 18:16:02 -05:00
parent 3dfce3bbe0
commit 4d3dc92448
5 changed files with 54 additions and 25 deletions

View file

@ -3,7 +3,11 @@ using Gtk 4.0;
Box {
accessibility {
label: _("Hello, world!");
labelled-by: my_label;
labelled-by: [
my_label,
];
checked: true;
}
}

View file

@ -3,7 +3,13 @@ using Gtk 4.0;
Box {
accessibility {
label: _("Hello, world!");
labelled-by: [my_label1, my_label2, my_label3];
labelled-by: [
my_label1,
my_label2,
my_label3,
];
checked: true;
}
}

View file

@ -221,8 +221,6 @@ class TestSamples(unittest.TestCase):
"list_factory",
# Not implemented yet
"subscope",
# Not implemented yet
"accessibility_multiple_labelled_by",
]
if sample in REQUIRE_ADW_1_4 and not self.have_adw_1_4: