ObjectWrap.bindPropertyFull

gobject.binding.Binding bindPropertyFull(string sourceProperty, gobject.object.ObjectWrap target, string targetProperty, gobject.types.BindingFlags flags, gobject.closure.Closure transformTo, gobject.closure.Closure transformFrom)

Creates a binding between source_property on source and target_property on target, allowing you to set the transformation functions to be used by the binding.

This function is the language bindings friendly version of [gobject.object.ObjectWrap.bindPropertyFull], using #GClosures instead of function pointers.

Parameters

sourcePropertythe property on source to bind
targetthe target #GObject
targetPropertythe property on target to bind
flagsflags to pass to #GBinding
transformToa #GClosure wrapping the transformation function from the source to the target, or null to use the default
transformFroma #GClosure wrapping the transformation function from the target to the source, or null to use the default

Returns

the #GBinding instance representing the

binding between the two #GObject instances. The binding is released whenever the #GBinding reference count reaches zero.