summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page
blob: 9e0cd6e4f7ea8d67c748a4a08571ae137fd5d860 (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
35
36
37
38
39
40
<?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-python">
def callback(test_obj, error, user_param1, ...)
  </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>test_obj</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>
<title><code>user_param1</code></title>
<p>first user parameter (if any) specified with the connect() method</p>
<item>
<title><code>...</code></title>
<p>additional user parameters (if any)</p>
</item>
</terms>

</page>