register_transform_func
Description:
public static void register_transform_func (Type src_type, Type dest_type, ValueTransform transform_func)
Registers a value transformation function for use in [method@GObject.
Value.transform].
Any previously registered transformation function for src_type and dest_type will be replaced.
Parameters:
| src_type |
source type |
| dest_type |
target type |
| transform_func |
a function which transforms values of type |