Merge branch 'update-eg' into 'main'

docs: Update overview example using format and compile

See merge request jwestman/blueprint-compiler!234
This commit is contained in:
Chris Mayo 2025-03-21 01:01:27 +00:00
commit 0eef311ef7

View file

@ -26,7 +26,7 @@ Blueprint is a markup language and compiler for GTK 4 user interfaces.
using Gtk 4.0;
template MyAppWindow : ApplicationWindow {
template $MyAppWindow: ApplicationWindow {
default-width: 600;
default-height: 300;
title: _("Hello, Blueprint!");
@ -35,7 +35,7 @@ Blueprint is a markup language and compiler for GTK 4 user interfaces.
HeaderBar {}
Label {
label: bind MyAppWindow.main_text;
label: bind template.main_text;
}
}