next_frame


Description:

public Frame next_frame () throws Error

Synchronously loads texture and information of the next frame.

For single still images, this can only be called once. For animated images, this function will loop to the first frame, when the last frame is reached.

Returns:

a new [class@Frame] on success, or `NULL` with throws filled in