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

@ -0,0 +1,5 @@
using Gtk 4.0;
Gtk.Shortcut {
trigger: "Escape";
}