{% extends "base.html" %} {% block title %}{{ namespace.name }}.{{ enum.name }}{% endblock %} {% block meta_other %} {% endblock %} {% macro sidebar_block(elements, enum_name, section_title, section_class, section_fragment) -%} {% if elements|length > 0 %}
{{ section_title }}
{% endif %} {% endmacro %} {% block sidebar %}
Type
{{ sidebar_block(enum.type_funcs, enum.name, "Type functions", "func", "type_func") }} {% endblock %} {% macro navbar_block(attribute, section_title, section_link) -%} {% if attribute %}
  • {{ section_title }}
  • {% endif %} {% endmacro %} {% block navbar %}
    {% endblock %} {% block content %}

    Enumeration

    {{ namespace.name }}{{ enum.name }}

    {%- if CONFIG.is_unstable(enum.available_since) -%} unstable  {%- endif %} {%- if enum.deprecated_since -%} deprecated: {{ enum.deprecated_since.version }}  {%- endif -%} {%- if enum.available_since -%} since: {{ enum.available_since }} {%- endif -%}

    Declaration {% if CONFIG.source_location_url and enum.source_location %} [src] {% endif %}

    {{ enum.c_decl }}

    Description {% if CONFIG.source_location_url and enum.docs_location %} [src] {% endif %}

    {{ enum.description }}
    {% if enum.stability %}

    Stability: {{ enum.stability }}

    {% endif %} {% if enum.available_since %}

    Available since: {{ enum.available_since }}

    {% endif %} {% if enum.deprecated_since %} {%- if enum.deprecated_since.message -%}

    Deprecated since: {{ enum.deprecated_since.version }}

    {{ enum.deprecated_since.message }}
    {%- else -%}

    Deprecated since: {{ enum.deprecated_since.version }}. Do not use in newly written code.

    {%- endif -%} {% endif %}
    {% if enum.attributes %}
    {% for (key, value) in enum.attributes.items()|sort %} {% endfor %}
    {{ key|escape }}{{ value|escape }}
    {% endif %}

    Members

    {% for member in enum.members %}
    {{ member.name }}
    {{ member.description }}
    • Value: {{ member.value }}
    • Nickname: {{ member.nick }}
    • {% if member.available_since -%}
    • Available since: {{ member.available_since }}
    • {%- else -%}
    • Available since: {{ namespace.version }}
    • {%- endif %}
    {% endfor %}
    {% if enum.error_domain %}

    Error domain

    "{{ enum.domain }}"
    {% endif %} {% if enum.type_funcs %}

    Type functions

    {% for func in enum.type_funcs %}
    {{ func.identifier }}
    {{ func.summary }}

    {%- if CONFIG.is_unstable(func.available_since) -%} unstable  {%- endif %} {%- if func.deprecated_since -%} deprecated: {{ func.deprecated_since }}  {%- endif -%} {%- if func.available_since -%} since: {{ func.available_since }} {%- endif -%}

    {% endfor %}
    {% endif %}
    {% endblock %}