Initializes a color iterator for the accent color list and associates it
it with branding
.
The #AsBrandingColorIter structure is typically allocated on the stack
and does not need to be freed explicitly.
an #AsBranding
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
}
A #AsBrandingColorIter structure represents an iterator that can be used to iterate over the accent colors of an #AsBranding object. #AsBrandingColorIter structures are typically allocated on the stack and then initialized with as_branding_color_iter_init().