BindingTransformFunc
Description:
[ CCode ( instance_pos = 3.9 ) ]
[ Version ( since = "2.26" ) ]
public delegate bool BindingTransformFunc (Binding binding, Value from_value, ref Value to_value)
[ Version ( since = "2.26" ) ]
public delegate bool BindingTransformFunc (Binding binding, Value from_value, ref Value to_value)
A function to be called to transform from_value
to to_value
.
If this is the transform_to
function of a binding, then from_value
is the source_property
on the
source
object, and to_value
is the target_property
on the target
object. If this is the
transform_from
function of a g_binding_bidirectional binding, then those roles are reversed.
Parameters:
binding |
a Binding |
from_value |
the Value containing the value to transform |
to_value |
the Value in which to store the transformed value |
user_data |
data passed to the transform function |
Returns:
true if the transformation was successful, and false otherwise |
Namespace: GLib
Package: gobject-2.0