Clutter.ProgressFunc
Description: Reference for Clutter.ProgressFunc

### Function

# ClutterProgressFunc

#### Declaration

    gboolean
    (* ClutterProgressFunc) (
      const GValue* a,
      const GValue* b,
      gdouble progress,
      GValue* retval
    )

#### Description [src]

Prototype of the progress function used to compute the value between the two ends `a` and `b` of an interval depending on the value of `progress`.

The `GValue` in `retval` is already initialized with the same type as `a` and `b`.

This function will be called by `ClutterInterval` if the type of the values of the interval was registered using clutter_interval_register_progress_func().

Available since: | 1.0

#### Parameters

`a` | `GValue`
| The initial value of an interval.
| The data is owned by the caller of the function.
`b` | `GValue`
| The final value of an interval.
| The data is owned by the caller of the function.
`progress` | `gdouble`
| The progress factor, between 0 and 1
`retval` | `GValue`
| The value used to store the progress.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gboolean`
| `TRUE` if the function successfully computed the value and stored it inside `retval`.