Top | ![]() |
![]() |
![]() |
![]() |
If you are working with something that is not a GtkWidget, getting access to a frame-clock is sometimes not possible. This can be used as a suitable fallback that approximates a frame-rate.
If you have access to a GdkFrameClock, in most cases you'll want that instead of using this.
guint dzl_frame_source_add (guint frames_per_sec
,GSourceFunc callback
,gpointer user_data
);
Creates a new frame source that will execute when the timeout interval for the source has elapsed. The timing will try to synchronize based on the end time of the animation.