~ubuntu-branches/ubuntu/trusty/gobject-introspection/trusty

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
43
44
45
46
47
48
49
<?xml version="1.0"?>
<page id="Regress.FooObject.append_new_stack_layer"
      type="topic"
      style="method"
      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.FooObject" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Regress.FooOtherObject</api:type>
      </api:returns>
      <api:name>regress_foo_object_append_new_stack_layer</api:name>
      <api:arg>
        <api:type>Regress.FooObject</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>x</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.FooObject.append_new_stack_layer</title>
  <synopsis><code mime="text/x-python">
@accepts(Regress.FooObject, int)
@returns(Regress.FooOtherObject)
def append_new_stack_layer(self, x):
    # Python wrapper for regress_foo_object_append_new_stack_layer()
  </code></synopsis>
  <p>This shouldn't be scanned as a constructor.</p>

<terms>
<item>
<title><code>self</code></title>

</item>
<item>
<title><code>x</code></title>

</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>