summaryrefslogtreecommitdiff
path: root/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page')
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
new file mode 100644
index 00000000..5d240fa5
--- /dev/null
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<page id="DocExamples.Obj-signal-example"
+ type="topic"
+ style="signal"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="DocExamples.Obj" group="signal"/>
+ <title type="link" role="topic">signal-example</title>
+ </info>
+ <title>DocExamples.Obj::signal-example</title>
+<synopsis><code mime="text/x-python">
+def callback(float_param, since, user_param1, ...)
+</code></synopsis>
+<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
+non-functional (always None), in older versions. They have been
+available with their current behaviour since version 0.11.7.</p>
+
+<table>
+<tr>
+<td><p>float_param :</p></td>
+<td><p>a parameter of type float</p></td>
+</tr>
+<tr>
+<td><p>since :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>user_param1 :</p></td>
+<td><p>first user parameter (if any) specified with the connect() method</p></td>
+</tr>
+<tr>
+<td><p>... :</p></td>
+<td><p>additional user parameters (if any)</p></td>
+</tr>
+</table>
+<p>Since 0.99</p>
+</page>