This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/blueprint/test.blp
James Westman 211a1f6743
lexers: Add Blueprint lexer (#2434)
Blueprint is a language for developing user interfaces with GTK. See
https://gitlab.gnome.org/jwestman/blueprint-compiler.
2023-05-19 11:19:00 +02:00

34 lines
No EOL
624 B
Text

using Gtk 4.0;
using Adw 1;
template $MyTemplate : Gtk.Window {
hello: world | there;
translated: C_("test", "String");
numbers: 0x1_000_000;
types: typeof<Adjustment>;
notify::something => $respond_somehow() swapped;
working: bind-property template.idle inverted;
status: bind $get_status(template.idle, true, 10) as <$MyStatus>.string;
Dialog {
[action response=0 default]
Button btn {}
[action response=cancel]
Button btn2 {}
}
Adw.Breakpoint {
condition ("max-width: 100")
setters {
label.foo: 10;
}
}
}
menu my-menu {
submenu {
attribute: "yes";
}
}