GObject.Value.register_transform_func
Description: Reference for GObject.Value.register_transform_func

### Function

# GObject Valueregister_transform_func

#### Declaration [src]

    void
    g_value_register_transform_func (
      GType src_type,
      GType dest_type,
      GValueTransform transform_func
    )

#### Description [src]

Registers a value transformation function for use in `g_value_transform()`.

Any previously registered transformation function for `src_type` and `dest_type` will be replaced.

This function is not directly available to language bindings.

#### Parameters

`src_type`

  Type: `GType`

  Source type.

`dest_type`

  Type: `GType`

  Target type.

`transform_func`

  Type: `GValueTransform`

  A function which transforms values of type `src_type` into values of type `dest_type`.