next


Description:

public Object? next (Cancellable? cancellable = null) throws Error

Get the next object in the enumerator, or null if there are no more objects.

null is also returned if the function fails. Use the error to determine whether a failure occurred or not.

Parameters:

this

The enumerator

cancellable

A Cancellable or null

Returns:

The next object, which must be released using g_object_unref, or null.