Value.registerTransformFunc

Registers a value transformation function for use in g_value_transform(). A previously registered transformation function for src_type and dest_type will be replaced.

class Value
static
void
registerTransformFunc

Parameters

srcType GType

Source type.

destType GType

Target type.

transformFunc GValueTransform

a function which transforms values of type src_type into value of type dest_type

Meta