blob: 9b096651f6aa4098f59fcf97d135dc1cdeb4838b (
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="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>This is an example of how to document a signal.</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>
|