blueprint-compiler/tests/sample_errors/legacy_template.blp
James Westman 04509e4b2e Change template syntax
Templates now use a TypeName instead of an identifier, which makes it
clearer that it's an extern symbol (or that it's a Gtk.ListItem).
2023-05-13 16:49:48 -05:00

10 lines
174 B
Text

using Gtk 4.0;
template TestTemplate : ApplicationWindow {
test-property: "Hello, world";
test-signal => $on_test_signal();
}
Dialog {
transient-for: TestTemplate;
}