mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Change the way values work
Change the parsing for values to make them more reusable, in particular for when I implement extensions.
This commit is contained in:
parent
6938267952
commit
1df46b5a06
30 changed files with 707 additions and 291 deletions
|
@ -1,11 +0,0 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Box {
|
||||
visible: bind box2.visible inverted;
|
||||
orientation: bind box2.orientation;
|
||||
spacing: bind box2.spacing no-sync-create;
|
||||
}
|
||||
|
||||
Box box2 {
|
||||
spacing: 6;
|
||||
}
|
11
tests/samples/property_binding.blp
Normal file
11
tests/samples/property_binding.blp
Normal file
|
@ -0,0 +1,11 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Box {
|
||||
visible: bind-property box2.visible inverted;
|
||||
orientation: bind box2.orientation;
|
||||
spacing: bind-property box2.spacing no-sync-create;
|
||||
}
|
||||
|
||||
Box box2 {
|
||||
spacing: 6;
|
||||
}
|
11
tests/samples/property_binding_dec.blp
Normal file
11
tests/samples/property_binding_dec.blp
Normal file
|
@ -0,0 +1,11 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Box {
|
||||
visible: bind-property box2.visible inverted;
|
||||
orientation: bind-property box2.orientation;
|
||||
spacing: bind-property box2.spacing no-sync-create;
|
||||
}
|
||||
|
||||
Box box2 {
|
||||
spacing: 6;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue