mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add Adw.Breakpoint custom syntax
This commit is contained in:
parent
aafebf0dfb
commit
8fcd08c835
12 changed files with 264 additions and 11 deletions
12
tests/sample_errors/adw_breakpoint.blp
Normal file
12
tests/sample_errors/adw_breakpoint.blp
Normal file
|
@ -0,0 +1,12 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Label label {}
|
||||
|
||||
Adw.Breakpoint {
|
||||
setters {
|
||||
label.foo: "bar";
|
||||
not_an_object.visible: true;
|
||||
label.foo: "baz";
|
||||
}
|
||||
}
|
4
tests/sample_errors/adw_breakpoint.err
Normal file
4
tests/sample_errors/adw_breakpoint.err
Normal file
|
@ -0,0 +1,4 @@
|
|||
8,11,3,Class Gtk.Label does not have a property called foo
|
||||
9,5,13,Could not find object with ID not_an_object
|
||||
10,11,3,Class Gtk.Label does not have a property called foo
|
||||
10,5,17,Duplicate setter for label.foo
|
Loading…
Add table
Add a link
Reference in a new issue