{% extends "base.html" %} {% block title %}{{ namespace.name }}.{{ class.name }}::{{ signal.name }}{% endblock %} {% block meta_other %} {% endblock %} {% block sidebar %}
Type
Signals
{% endblock %} {% block content %}

Signal

{{ namespace.name }}{{ class.name }}::{{ signal.name }}

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

Declaration

{{ signal.c_decl }}

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

{{ signal.description }}
{% if signal.no_recurse %} {% endif %} {% if signal.is_action %} {% endif %} {% if signal.is_detailed %} {% endif %} {% if signal.no_hooks %} {% endif %} {% if signal.stability %} {% endif %} {% if signal.available_since %} {% endif %} {% if signal.deprecated_since %} {% endif %}
Default handler: {{ signal.when }}
Signal emission will restart instead of recursing
Signal can be directly emitted on objects from user code
The signal can be detailed
Hooks are disabled for this signal
Stability: {{ signal.stability }}
Available since: {{ signal.available_since }}
Deprecated since: {{ signal.deprecated_since.version }}
{{ signal.deprecated_since.message }}
{% if signal.attributes %}
{% for (key, value) in signal.attributes.items()|sort %} {% endfor %}
{{ key|escape }}{{ value|escape }}
{% endif %}
{% if signal.arguments|length != 0 %}

Parameters

{% for arg in signal.arguments %}
{{ arg.name }}

Type:  {%- if arg.is_array -%}An array of {%- endif -%} {%- if arg.is_list -%}A list of {%- endif -%} {%- if arg.link -%} {{ arg.link|safe }} {%- else -%} {{ arg.type_cname }} {%- endif -%}

{{ arg.description|safe }}

{% if arg.direction != "in" %}{% endif %} {% if arg.direction == "in" and arg.nullable %}{% endif %} {% if arg.direction in ["inout", "out"] and arg.nullable %}{% endif %} {% if arg.optional %}{% endif %} {% if arg.is_array and arg.zero_terminated %}{% endif %} {% if arg.is_array and arg.fixed_size > 0 %}{% endif %} {% if arg.is_array and arg.len_arg %}{% endif %} {% if arg.is_pointer %}{% endif %} {% if arg.string_note %}{% endif %}
{{ arg.direction_note }}
The argument can be NULL.
The argument can be set to NULL by the signal handler.
The argument can be NULL.
The array must be NULL-terminated.
The array must have {{ arg.fixed_size }} elements.
The length of the array is specified in the {{ arg.len_arg }} argument.
{{ arg.transfer_note }}
{{ arg.string_note }}
{% endfor %} {% if signal.throws %}
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the signal handler if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.
{% endif %}
{% endif %} {% if signal.return_value %}

Return value

Type:  {%- if signal.return_value.is_array -%}An array of {%- endif -%} {%- if signal.return_value.is_list -%}A list of {%- endif -%} {%- if signal.return_value.is_list_model -%}A list model of {%- endif -%} {%- if signal.return_value.link -%} {{ signal.return_value.link|safe }} {%- else -%} {{ signal.return_value.type_cname }} {%- endif -%}

{{ signal.return_value.description|safe }}

{% if signal.return_value.is_array and signal.return_value.zero_terminated %}{% endif %} {% if signal.return_value.is_array and signal.return_value.fixed_size > 0 %}{% endif %} {% if signal.return_value.is_array and signal.return_value.len_arg %}{% endif %} {% if signal.return_value.is_pointer %}{% endif %} {% if signal.return_value.is_pointer and signal.return_value.nullable %}{% endif %} {% if signal.return_value.string_note %}{% endif %}
The array is NULL-terminated.
The array has {{ signal.return_value.fixed_size }} elements.
The length of the array is in the {{ signal.return_value.len_arg }} argument.
{{ signal.return_value.transfer_note }}
The return value can be NULL.
{{ signal.return_value.string_note }}
{% endif %}
{% endblock %}