summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-gerror.page
blob: 5a2c10f19e9996c6951b8d733304a9f5725842b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<page id="Regress.TestObj-sig-with-gerror"
      type="topic"
      style="signal"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Regress.TestObj" group="signal" type="guide"/>
    <title type="link" role="topic">sig-with-gerror</title>
  </info>
  <title>Regress.TestObj::sig-with-gerror</title>
  <synopsis><code mime="text/x-gjs">
connect('sig-with-gerror', function (testObj, error: <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link>, ): void);
  </code></synopsis>
  <p>This signal is modeled after #GstDiscoverer::discovered, and is added to
exercise the path of a <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link> being marshalled as a boxed type instead of
an exception in the introspected language.</p>  <p>Use via <link xref="Regress.TestObj.emit_sig_with_error"/> and
<link xref="Regress.TestObj.emit_sig_with_null_error"/>, or emit via the introspected
language.</p>

<terms>
<item>
<title><code>testObj</code></title>
<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p>
</item>
<item>
<title><code>error</code></title>
  <p>A <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link> if something went wrong
  internally in @self. You must not free this <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link>.</p>
</item>
</terms>

</page>