summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page')
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page
new file mode 100644
index 00000000..9e0cd6e4
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-gerror.page
@@ -0,0 +1,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>