binding_bind_property_with_closures


Description:


[ Version ( since = "3.16" ) ]
public unowned Binding binding_bind_property_with_closures (Object source, string source_property, Object target, string target_property, BindingFlags flags, Closure? transform_to, Closure? transform_from)

Thread safe variant of bind_property.

See its documentation for more information on arguments and return value.

Parameters:

source

the source Object

source_property

the property on source to bind

target

the target Object

target_property

the property on target to bind

flags

flags to pass to Binding

transform_to

a Closure wrapping the transformation function from the source to the target, or null to use the default

transform_from

a Closure wrapping the transformation function from the target to the source, or null to use the default

Returns:

the Binding instance representing the binding between the two Object instances. The binding is released whenever the Binding reference count reaches zero.


Namespace: E