public void set_progress_func (owned TimelineProgressFunc? func)
Sets a custom progress function for this.
The progress function will be called by get_progress and will be used to compute the progress value based on the elapsed time and the total duration of the timeline.
a progress function, or
data to pass to
a function to be called when the progress function is removed or the timeline is disposed