Function
Camelbinding_bind_property_with_closures
since: 3.16
Declaration [src]
GBinding*
camel_binding_bind_property_with_closures (
GObject* source,
const gchar* source_property,
GObject* target,
const gchar* target_property,
GBindingFlags flags,
GClosure* transform_to,
GClosure* transform_from
)
Description [src]
Thread safe variant of g_object_bind_property_with_closures(). See its documentation for more information on arguments and return value.
Available since: 3.16
This function is renamed to camel_binding_bind_property_full() in language bindings.
Parameters
source-
Type:
GObjectThe source
GObject.The data is owned by the caller of the function. source_property-
Type:
const gchar*The property on
sourceto bind.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. target-
Type:
GObjectThe target
GObject.The data is owned by the caller of the function. target_property-
Type:
const gchar*The property on
targetto bind.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. flags-
Type:
GBindingFlagsFlags to pass to
GBinding. transform_to-
Type:
GClosureA
GClosurewrapping the transformation function from thesourceto thetarget, orNULLto use the default.The data is owned by the caller of the function. transform_from-
Type:
GClosureA
GClosurewrapping the transformation function from thetargetto thesource, orNULLto use the default.The data is owned by the caller of the function.
Return value
Type: GBinding
The GBinding instance representing the
binding between the two GObject instances. The binding is released
whenever the GBinding reference count reaches zero.
| The data is owned by the called function. |