It derives from <GObject>.
<GBindingGroup> can be used to bind multiple
properties from an object collectively.
Use the various methods to bind properties from a single source object
to multiple destination objects. Properties can be bound
bidirectionally and are connected when the source object is set with
binding-group:set-source.
The source object used for binding properties.
Its value is a <GObject>, or #f.
Set it with (set! (binding-group:source self) value).
Creates a binding between source-property on the source object and
target-property on target. Whenever the
source-property is changed the target-property is updated
using the same value. The binding flag
sync-create is automatically specified.
See object:bind-property for more
information.
Passed: a <GBindingGroup>.
the <GBindingGroup>
Passed: a string.
the property on the source to bind
Passed: a <GObject>.
the target <GObject>
Passed: a string.
the property on target to bind
Passed: a <GBindingFlags>, or a list of its
symbols, or one of them.
the flags used to create the <GBinding>
Creates a binding between source-property on the source object and
target-property on target, allowing you to set the
transformation functions to be used by the binding. The binding flag
sync-create is automatically specified.
See object:bind-property-full
for more information.
Passed: a <GBindingGroup>.
the <GBindingGroup>
Passed: a string.
the property on the source to bind
Passed: a <GObject>.
the target <GObject>
Passed: a string.
the property on target to bind
Passed: a <GBindingFlags>, or a list of its
symbols, or one of them.
the flags used to create the <GBinding>
Passed, or left out: a <GClosure>, or #f.
the transformation function from the source object to the target,
or #f to use the default
See GBindingTransformFunc for how it
is called.
Passed, or left out: a <GClosure>, or #f.
the transformation function from the target to the source object,
or #f to use the default
See GBindingTransformFunc for how it
is called.
custom data to be passed to the transformation functions, or #f
function to be called when disposing the binding, to free the resources used by the transformation functions
See GDestroyNotify for how it is
called.
Gets the source object used for binding properties.
Passed: a <GBindingGroup>.
the <GBindingGroup>
Returned: a <GObject>, or #f.
a <GObject> or #f.
Creates a new <GBindingGroup>.
Returned: a <GBindingGroup>.
a new <GBindingGroup>
Sets source as the source object used for creating property bindings. If there is already a source object all bindings from it will be removed.
Note that all properties that have been bound must exist on source.
Passed: a <GBindingGroup>.
the <GBindingGroup>
Passed, or left out: a <GObject>, or #f.
the source <GObject>, or #f to clear it