mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
decompiler: Support Adw.Breakpoint syntax
Also, improve handling of translated strings.
This commit is contained in:
parent
078ce2f5b8
commit
a12ac1b976
9 changed files with 141 additions and 48 deletions
|
@ -1,13 +1,14 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Gtk.Label label {}
|
||||
Label label {}
|
||||
|
||||
Adw.Breakpoint {
|
||||
condition ("max-width: 600px")
|
||||
|
||||
setters {
|
||||
label.label: _("Hello, world!");
|
||||
label.label: C_("test", "Hello, world!");
|
||||
label.visible: false;
|
||||
label.extra-menu: null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue