Add lambda expressions

This commit is contained in:
James Westman 2022-01-29 22:37:00 -06:00
parent 012bdf6843
commit fc497ac9e6
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
18 changed files with 247 additions and 80 deletions

9
tests/samples/lambda.blp Normal file
View 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;
}