summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl
blob: cda46bd580ba8fe40833b437a1c17901a970df88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%namespace name="doc" file="_doc.tmpl"/>
<%namespace name="method" file="_method.tmpl"/>
% if getattr(node, 'signals', []):
  <h2>Signal Details</h2>
  % for s in node.signals:
    <%doc:introspectable node="${s}">
    <h3>
      <span class="entry signal ${doc.deprecated_class(s)}"
            id="${formatter.make_anchor(s)}">
        ${s.name}<!-- no space
      --></span><!--
      -->(${formatter.format_in_parameters(s)})
    </h3>
    <dl>
      <dt>Flags</dt>
      <dd>${formatter.format_signal_flags(s)}</dd>
      ${method.describe_parameters(s)}
    </dl>
    ${doc.format_documentation(s)}
    </%doc:introspectable>
  % endfor
% endif