next


Description:

public bool next (out ColorKind kind, out ColorSchemeKind scheme_preference, out string value)

Returns the current color entry and advances the iterator.

Example:

AsBrandingColorIter iter;
AsColorKind ckind;
AsColorSchemeKind scheme_preference;
const gchar *color_value;

as_branding_color_iter_init (&iter, branding);
while (as_branding_color_iter_next (&iter, &ckind, &scheme_preference, &color_value)) {
// do something with the color data
}

Parameters:

this

an initialized BrandingColorIter

kind

Destination of the returned color kind.

scheme_preference

Destination of the returned color's scheme preference.

value

Destination of the returned color code.

Returns:

false if the last entry has been reached.




2022 vala-language.org