Accept string literals for parseable types

GtkBuilder knows some class-specific parsing methods, so we can use
string literals for these types and pass them straight to the XML.
This commit is contained in:
James Westman 2021-11-24 18:41:14 -06:00
parent 3804d91118
commit 2130c78da9
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
4 changed files with 29 additions and 4 deletions

View file

@ -104,6 +104,7 @@ class TestSamples(unittest.TestCase):
self.assert_sample("layout")
self.assert_sample("menu")
self.assert_sample("object_prop")
self.assert_sample("parseable")
self.assert_sample("property")
self.assert_sample("signal")
self.assert_sample("size_group")