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-01-30 19:26:51 +00:00
commit 4cd873904d

View file

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