mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
docs: Update overview example using format and compile
This commit is contained in:
parent
c1fbcef6d0
commit
a4e0c3701b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue