mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add bind for bidirectional
This commit is contained in:
parent
6800601d94
commit
168b87bb4a
3 changed files with 5 additions and 0 deletions
|
@ -283,6 +283,8 @@ def decompile_property(ctx, gir, name, cdata, bind_source=None, bind_property=No
|
|||
flags += " sync-create"
|
||||
if "after" in bind_flags:
|
||||
flags += " after"
|
||||
if "bidirectional" in bind_flags:
|
||||
flags += " bidirectional"
|
||||
ctx.print(f"{name}: bind {bind_source}.{bind_property}{flags};")
|
||||
elif _truthy(translatable):
|
||||
if context is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue