summaryrefslogtreecommitdiff
path: root/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
blob: 76a89f3643bbf631b11a8d38981e98f1b54bef6d (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
41
42
<?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(obj, 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>obj :</p></td>
<td><p>instance of DocExamples.Obj that is emitting the signal</p></td>
</tr>
<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>