Say I have a GLib BindingGroup called location_binds which has properties city-name and country-name. I want to have a property that holds something like "City name, Country name".
I know that for binding one property I can use location_binds.bind ("city-name", this, "title", SYNC_CREATE) ("title" in this case would hold "City name"). But how about two (or any other number of) properties?
My eventual solution was to use two variables. The first one bound normally:
but the second one bound with a lambda expression that includes the first variable in its content: