GObject.BindingTransformFunc
function onBindingTransformFunc(binding: GObject.Binding, from_value: Any, to_value: Any): Boolean {
}
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 GObject.BindingFlags.bidirectional binding, then those roles are reversed.
Since 2.26
- binding
- from_value
the GObject.Value containing the value to transform
- to_value
the GObject.Value in which to store the transformed value
- Returns
true if the transformation was successful, and false otherwise