Binding.gObjectBindPropertyFull

Complete version of g_object_bind_property(). 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. Since 2.26

Parameters

source void*

the source GObject. [type GObject.Object]

sourceProperty string

the property on source to bind

target void*

the target GObject. [type GObject.Object]

targetProperty string

the property on target to bind

flags GBindingFlags

flags to pass to GBinding

transformTo GBindingTransformFunc

the transformation function from the source to the target, or NULL to use the default. [scope notified][allow-none]

transformFrom GBindingTransformFunc

the transformation function from the target to the source, or NULL to use the default. [scope notified][allow-none]

userData void*

custom data to be passed to the transformation functions, or NULL

notify GDestroyNotify

function to be called when disposing the binding, to free the resources used by the transformation functions

Return Value

Type: Binding

the GBinding instance representing the binding between the two GObject instances. The binding is released whenever the GBinding reference count reaches zero. [transfer none]

Meta