ProgressFunc
Description:
[
CCode ( has_target =
false ) ]
public delegate bool ProgressFunc (
Value a,
Value b,
double progress,
Value retval)
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 Value in retval is already initialized with the same type as a
and b.
This function will be called by Interval if the type of the values of the
interval was registered using register_progress_func
.
Parameters:
| a |
the initial value of an interval |
| b |
the final value of an interval |
| progress |
the progress factor, between 0 and 1 |
| retval |
the value used to store the progress |
Returns:
true if the function successfully computed the value and stored it inside retval
|