Gjsify LogoGjsify Logo

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().

record

Hierarchy

  • BrandingColorIter

Index

Constructors

Properties

Methods

Constructors

Properties

name: string

Methods

  • 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.

    Parameters

    Returns void

  • 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
    }

    Returns [boolean, ColorKind, ColorSchemeKind, string]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method