2 <page id="DocExamples.Obj-signal-example"
5 xmlns="http://projectmallard.org/1.0/"
6 xmlns:ui="http://projectmallard.org/experimental/ui/">
8 <link type="guide" xref="DocExamples.Obj" group="signal"/>
9 <title type="link" role="topic">signal-example</title>
11 <title>DocExamples.Obj::signal-example</title>
12 <synopsis><code mime="text/x-python">
13 def callback(obj, float_param, since, user_param1, ...)
15 <p>This is an example of how to document a signal.</p>
20 <td><p>instance of DocExamples.Obj that is emitting the signal</p></td>
23 <td><p>float_param :</p></td>
24 <td><p>a parameter of type float</p></td>
27 <td><p>since :</p></td>
31 <td><p>user_param1 :</p></td>
32 <td><p>first user parameter (if any) specified with the connect() method</p></td>
36 <td><p>additional user parameters (if any)</p></td>