diff options
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/_signals.tmpl')
-rw-r--r-- | giscanner/doctemplates/devdocs/Gjs/_signals.tmpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl b/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl new file mode 100644 index 00000000..cda46bd5 --- /dev/null +++ b/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl @@ -0,0 +1,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 |