mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Add lambda expressions
This commit is contained in:
parent
012bdf6843
commit
fc497ac9e6
18 changed files with 247 additions and 80 deletions
9
tests/samples/lambda.blp
Normal file
9
tests/samples/lambda.blp
Normal file
|
@ -0,0 +1,9 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Gtk.BoolFilter filter {
|
||||
expression: (Gtk.Label object) => object.visible;
|
||||
}
|
||||
|
||||
Gtk.BoolFilter {
|
||||
expression: (Gtk.Label object) => filter.invert;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue