bindPropertyFull

open fun bindPropertyFull(sourceProperty: String, target: Object, targetProperty: String, flags: BindingFlags, transformTo: Closure, transformFrom: Closure): Binding

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 g_object_bind_property_full(), using #GClosures instead of function pointers.

Return

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

Since

2.26

Parameters

sourceProperty

the property on @source to bind

target

the target #GObject

targetProperty

the property on @target to bind

flags

flags to pass to #GBinding

transformTo

a #GClosure wrapping the transformation function from the @source to the @target, or null to use the default

transformFrom

a #GClosure wrapping the transformation function from the @target to the @source, or null to use the default