Function
Camelbinding_bind_property_full
since: 3.16
Declaration [src]
GBinding*
camel_binding_bind_property_full (
GObject* source,
const gchar* source_property,
GObject* target,
const gchar* target_property,
GBindingFlags flags,
GBindingTransformFunc transform_to,
GBindingTransformFunc transform_from,
gpointer user_data,
GDestroyNotify notify
)
Description [src]
Thread safe variant of g_object_bind_property_full(). See its documentation for more information on arguments and return value.
Available since: 3.16
The implementation of this method is provided by camel_binding_bind_property_with_closures()
in language bindings
Parameters
source
-
Type:
GObject
The source
GObject
.The data is owned by the caller of the function. source_property
-
Type:
const gchar*
The property on
source
to bind.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. target
-
Type:
GObject
The target
GObject
.The data is owned by the caller of the function. target_property
-
Type:
const gchar*
The property on
target
to bind.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. flags
-
Type:
GBindingFlags
Flags to pass to
GBinding
. transform_to
-
Type:
GBindingTransformFunc
The transformation function from the
source
to thetarget
, orNULL
to use the default.The argument can be NULL
. transform_from
-
Type:
GBindingTransformFunc
The transformation function from the
target
to thesource
, orNULL
to use the default.The argument can be NULL
. user_data
-
Type:
gpointer
Custom data to be passed to the transformation functions, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. notify
-
Type:
GDestroyNotify
Function to be called when disposing the binding, to free the resources used by the transformation functions.
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. |